]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Change the netname back so that it can be displayed where needed
authorSamual Lenks <samual@xonotic.org>
Mon, 3 Jun 2013 23:04:40 +0000 (19:04 -0400)
committerSamual Lenks <samual@xonotic.org>
Mon, 3 Jun 2013 23:04:40 +0000 (19:04 -0400)
qcsrc/server/mutators/gamemode_ctf.qc

index f6d6647b05f7caeb776ced3476664b2c84fd4ae0..1de05661bed63d57a275f61c8d0709d2fb8c7232 100644 (file)
@@ -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";