From: Samual Lenks Date: Sun, 25 Aug 2013 21:34:50 +0000 (-0400) Subject: Update color selection X-Git-Tag: xonotic-v0.8.0~357^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3d81d4b04168648350d9ea1ebcc464ee033c5825;p=xonotic%2Fxonotic-data.pk3dir.git Update color selection --- diff --git a/qcsrc/server/command/getreplies.qc b/qcsrc/server/command/getreplies.qc index ea914e99e..309dfb1b0 100644 --- a/qcsrc/server/command/getreplies.qc +++ b/qcsrc/server/command/getreplies.qc @@ -320,13 +320,20 @@ string getlsmaps() { if((MapInfo_Get_ByID(i)) && !(MapInfo_Map_flags & MapInfo_ForbiddenFlags())) { - if(mod(i, 2)) { col = "^2"; } - else if( + if( (g_race && !stof(db_get(ServerProgsDB, strcat(MapInfo_Map_bspname, RACE_RECORD, "time")))) || (g_cts && !stof(db_get(ServerProgsDB, strcat(MapInfo_Map_bspname, CTS_RECORD, "time")))) - ) { col = "^5*"; } - else { col = "^3"; } + ) + { + if(mod(i, 2)) { col = "^4*"; } + else { col = "^5*"; } + } + else + { + if(mod(i, 2)) { col = "^2"; } + else { col = "^3"; } + } lsmaps = sprintf("%s%s%s ", lsmaps, col, MapInfo_Map_bspname); }