]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Update color selection
authorSamual Lenks <samual@xonotic.org>
Sun, 25 Aug 2013 21:34:50 +0000 (17:34 -0400)
committerSamual Lenks <samual@xonotic.org>
Sun, 25 Aug 2013 21:34:50 +0000 (17:34 -0400)
qcsrc/server/command/getreplies.qc

index ea914e99e7b42cd2f4830dba362a8c948b3f625a..309dfb1b087de402e46a61f37b929ba77caaf220 100644 (file)
@@ -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);
                }