forked from 0ad/0ad
- Fix a bug from 20e7d2224a
where the player ID would always be set to 1.
- Make the developer overlay a tad taller. This was SVN commit r13614.
This commit is contained in:
parent
70e67af87f
commit
857ae2dd3e
@ -139,7 +139,7 @@ function init(initData, hotloadData)
|
||||
var viewPlayerDropdown = getGUIObjectByName("viewPlayer");
|
||||
viewPlayerDropdown.list = playerNames;
|
||||
viewPlayerDropdown.list_data = playerIDs;
|
||||
viewPlayerDropdown.selected = 1;
|
||||
viewPlayerDropdown.selected = Engine.GetPlayerID();
|
||||
|
||||
// If in Atlas editor, disable the exit button
|
||||
if (Engine.IsAtlasRunning())
|
||||
|
@ -241,7 +241,7 @@
|
||||
/>
|
||||
|
||||
<!-- Dev/cheat commands -->
|
||||
<object name="devCommands" size="100%-156 50%-88 100%-8 50%+88" type="image" sprite="devCommandsBackground" z="40"
|
||||
<object name="devCommands" size="100%-156 50%-88 100%-8 50%+104" type="image" sprite="devCommandsBackground" z="40"
|
||||
hidden="true" hotkey="session.devcommands.toggle">
|
||||
<action on="Press">
|
||||
toggleDeveloperOverlay();
|
||||
|
Loading…
Reference in New Issue
Block a user