forked from mirrors/0ad
Show the last-man-standing option regardless of whether it is possible to set it. Reviewed by fatherbushido, refs #3970.
This was SVN commit r18603.
This commit is contained in:
@@ -1385,10 +1385,10 @@ function updateGUIObjects()
|
||||
Engine.GetGUIObjectByName("optionWonderDuration").hidden =
|
||||
g_GameAttributes.settings.GameType &&
|
||||
g_GameAttributes.settings.GameType != "wonder";
|
||||
Engine.GetGUIObjectByName("optionLastManStanding").hidden = mapSettings.LockTeams;
|
||||
|
||||
Engine.GetGUIObjectByName("cheatWarningText").hidden = !g_IsNetworked || !mapSettings.CheatsEnabled;
|
||||
|
||||
Engine.GetGUIObjectByName("lastManStanding").enabled = !mapSettings.LockTeams;
|
||||
Engine.GetGUIObjectByName("enableCheats").enabled = !mapSettings.RatingEnabled;
|
||||
Engine.GetGUIObjectByName("lockTeams").enabled = !mapSettings.RatingEnabled;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user