1
0
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:
alpha123 2013-07-29 20:01:09 +00:00
parent 70e67af87f
commit 857ae2dd3e
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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();