From: Samual Lenks Date: Mon, 3 Jun 2013 23:04:40 +0000 (-0400) Subject: Change the netname back so that it can be displayed where needed X-Git-Tag: xonotic-v0.7.0~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b697ceba40b436a0d91b1114b32fdfa3de6f90bd;p=xonotic%2Fxonotic-data.pk3dir.git Change the netname back so that it can be displayed where needed --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index f6d6647b0..1de05661b 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -961,7 +961,7 @@ void ctf_FlagSetup(float teamnumber, entity flag) // called when spawning a flag setattachment(flag, world, ""); - flag.netname = ((teamnumber) ? "^1REPLACETHIS^7" : "^4REPLACETHIS^7"); // ((teamnumber) ? "^1RED^7 flag" : "^4BLUE^7 flag"); + flag.netname = ((teamnumber) ? "^1RED^7 flag" : "^4BLUE^7 flag"); // Primarily only used for debugging or when showing nearby item name flag.team = ((teamnumber) ? NUM_TEAM_1 : NUM_TEAM_2); // NUM_TEAM_1: color 4 team (red) - NUM_TEAM_2: color 13 team (blue) flag.items = ((teamnumber) ? IT_KEY2 : IT_KEY1); // IT_KEY2: gold key (redish enough) - IT_KEY1: silver key (bluish enough) flag.classname = "item_flag_team";