1
0
forked from 0ad/0ad

This was SVN commit r6420.

This commit is contained in:
freenity 2008-10-13 20:58:12 +00:00
parent 841293ee0a
commit 6c6d92ebdb
3 changed files with 5 additions and 5 deletions

View File

@ -365,7 +365,7 @@ function updateTab (tab, type, cellSheet, attribute, attribute2, arrayCells)
}
}
// Default the list to closed.
// Default the list to closed and queue to opened
if (tab == "queue") {
groupObject.hidden = false;
@ -397,7 +397,6 @@ function tryConstruction( name )
else
{
// If not, output the error message.
//console.write( result );
showMessage(result);
}
}
@ -509,10 +508,10 @@ function refreshCommandButtons()
}
updateTab("queue", "production", "Tab", "tempArray", "");
empty = false;
}
else
{
//hide the production queue if it is empty.
tabCounter = snStatusPaneCommand.tab.max;
var tabObject = getGUIObjectByName ("snStatusPaneCommand" + tabCounter + "_1");
guiHide(tabObject.name);

View File

@ -235,7 +235,8 @@ function killSelectedEntities()
if (allOwned)
{
for (i=0; i<selection.length; i++)
{
{
//TODO: send network msg, so the unit is killed everywhere
selection[i].kill();
}
}

View File

@ -131,4 +131,4 @@ function guiSwitch (closeWindowName, openWindowName)
guiUnHide (openWindowName);
}
// ====================================================================
// ====================================================================