]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix for warmup phase
authorLegendaryGuard <rootuser999@gmail.com>
Mon, 26 Apr 2021 18:09:39 +0000 (20:09 +0200)
committerLegendaryGuard <rootuser999@gmail.com>
Mon, 26 Apr 2021 18:09:39 +0000 (20:09 +0200)
qcsrc/common/gamemodes/gamemode/mmm/sv_mmm.qc

index 6b31fed5dbffb09e9e704d7765489d0b825a6b40..7443b3000ca8914387428ba4c93476b6f79fa8b4 100644 (file)
@@ -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;