]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
did they copypastefail?
authordrjaska <drjaska83@gmail.com>
Wed, 22 Mar 2023 14:26:29 +0000 (16:26 +0200)
committerdrjaska <drjaska83@gmail.com>
Wed, 22 Mar 2023 14:26:29 +0000 (16:26 +0200)
qcsrc/common/minigames/minigame/c4.qc

index cd3bd7261032aaf4ecd656c30d048580a6d617d9..51287ef2e7c7bb0cc2481a479676b0921438ac1f 100644 (file)
@@ -375,7 +375,7 @@ void c4_hud_status(vector pos, vector mySize)
        int specs = 0;
        FOREACH_MINIGAME_ENTITY(e)
        {
-               if (e.classname == "minigame_player" && e.team == TTT_SPECTATOR_TEAM)
+               if (e.classname == "minigame_player" && e.team == C4_SPECTATOR_TEAM)
                {
                        ++specs;
                }
@@ -393,7 +393,7 @@ void c4_hud_status(vector pos, vector mySize)
                pos_y += 14;
                FOREACH_MINIGAME_ENTITY(e)
                {
-                       if (e.classname == "minigame_player" && e.team == TTT_SPECTATOR_TEAM)
+                       if (e.classname == "minigame_player" && e.team == C4_SPECTATOR_TEAM)
                        {
                                ++i;
                                string current_spec = "";