X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fgamemodes%2Fsv_rules.qc;h=a4a4bcd196deb0ac37eb3dad58e807a980908b89;hb=797bf448a96c0c13d783c7c919bb2caf6fa16707;hp=6da75b9319cc16e59c5dcbb762ec111e2acb9337;hpb=97c65692317f85cabfc5fa35de8185505cefe7bf;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/gamemodes/sv_rules.qc b/qcsrc/common/gamemodes/sv_rules.qc index 6da75b931..a4a4bcd19 100644 --- a/qcsrc/common/gamemodes/sv_rules.qc +++ b/qcsrc/common/gamemodes/sv_rules.qc @@ -101,3 +101,12 @@ bool GameRules_scoring_is_vip(entity player) { return player.m_GameRules_scoring_vip; } + +float _GameRules_scoring_add(entity client, entity sp, float value) +{ + return PlayerScore_Add(client, sp, value); +} +float _GameRules_scoring_add_team(entity client, entity sp, int st, float value) +{ + return PlayerTeamScore_Add(client, sp, st, value); +}