forked from 0ad/0ad
Add color indicator to the playerselection in observermode, refs #3168.
This was SVN commit r17733.
This commit is contained in:
parent
22f5b00fce
commit
b973eebeda
@ -244,8 +244,8 @@ function init(initData, hotloadData)
|
||||
let playerIDs = [-1];
|
||||
for (let player in g_Players)
|
||||
{
|
||||
playerNames.push(g_Players[player].name);
|
||||
playerIDs.push(player);
|
||||
playerNames.push('[color="' + rgbToGuiColor(g_Players[player].color) + '"]■ [/color]' + g_Players[player].name);
|
||||
}
|
||||
|
||||
let viewPlayerDropdown = Engine.GetGUIObjectByName("viewPlayer");
|
||||
|
Loading…
Reference in New Issue
Block a user