From: drjaska Date: Wed, 22 Mar 2023 14:26:29 +0000 (+0200) Subject: did they copypastefail? X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=566b454a0a9552f13a48501454689ba551a35596;p=xonotic%2Fxonotic-data.pk3dir.git did they copypastefail? --- diff --git a/qcsrc/common/minigames/minigame/c4.qc b/qcsrc/common/minigames/minigame/c4.qc index cd3bd7261..51287ef2e 100644 --- a/qcsrc/common/minigames/minigame/c4.qc +++ b/qcsrc/common/minigames/minigame/c4.qc @@ -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 = "";