forked from 0ad/0ad
Making the "random" option in the map selection dropdown orange. Refs #1668
This was SVN commit r12685.
This commit is contained in:
parent
91f3463bd3
commit
bdab01b381
@ -493,7 +493,7 @@ function initMapNameList()
|
|||||||
mapList.sort(sortNameIgnoreCase);
|
mapList.sort(sortNameIgnoreCase);
|
||||||
|
|
||||||
if (g_GameAttributes.mapType == "random")
|
if (g_GameAttributes.mapType == "random")
|
||||||
mapList.unshift({ "name": "Random", "file": "random" });
|
mapList.unshift({ "name": "[color=\"orange\"]Random[/color]", "file": "random" });
|
||||||
|
|
||||||
var mapListNames = [ map.name for each (map in mapList) ];
|
var mapListNames = [ map.name for each (map in mapList) ];
|
||||||
var mapListFiles = [ map.file for each (map in mapList) ];
|
var mapListFiles = [ map.file for each (map in mapList) ];
|
||||||
|
Loading…
Reference in New Issue
Block a user