This was SVN commit r6420.
This commit is contained in:
parent
841293ee0a
commit
6c6d92ebdb
@ -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);
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -131,4 +131,4 @@ function guiSwitch (closeWindowName, openWindowName)
|
||||
guiUnHide (openWindowName);
|
||||
}
|
||||
|
||||
// ====================================================================
|
||||
// ====================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user