1
0
forked from 0ad/0ad

Fixing multiple Open/Close options in players slots

This was SVN commit r6430.
This commit is contained in:
freenity 2008-10-18 17:59:27 +00:00
parent becab2d479
commit 1ce438a26f

View File

@ -20,6 +20,8 @@ function openSessionSetup (sessionReturnWindow)
getGUIObjectByName ("pgSessionSetupP" + i).caption = "(Host)";
}
else
{
if (getNumItems("pgSessionSetupP" + i) == 0)
{
//pushItem ("pgSessionSetupP" + i, "session");
pushItem ("pgSessionSetupP" + i, "Open");
@ -67,8 +69,7 @@ function openSessionSetup (sessionReturnWindow)
break;
}
}
}
}
// Make objects non-interactive to client.