From: LegendaryGuard Date: Mon, 26 Apr 2021 18:09:39 +0000 (+0200) Subject: Fix for warmup phase X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=def5baa7c92b4b96116bc28009786db731ec94a6;p=xonotic%2Fxonotic-data.pk3dir.git Fix for warmup phase --- diff --git a/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc b/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc index 6b31fed5d..7443b3000 100644 --- a/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc +++ b/qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc @@ -715,6 +715,7 @@ MUTATOR_HOOKFUNCTION(mmm, PlayerSpawn) //Karma points start if (player.karmastarted != true) { + CS(player).scorekeeper.(scores(SP_MMM_KARMA)) = 0; //full karma reset lol player.karmapoints = autocvar_g_mmm_max_karma_points; GameRules_scoring_add(player, MMM_KARMA, player.karmapoints); player.karmastarted = true;