Fixed bug in server menu where the Start Game button was deactivated
This commit is contained in:
parent
36ef5e336a
commit
5165ada191
2 changed files with 8 additions and 2 deletions
|
@ -835,6 +835,8 @@
|
|||
Jimmy Salmon).
|
||||
<LI>Implemented task #38320: Making screen shots (from Jimmy Salmon).
|
||||
<LI>Fixed bug #528207: Fog of war is not correct (from Jimmy Salmon).
|
||||
<LI>Fixed bug in server menu where the Start Game button was deactivated
|
||||
(from Jimmy Salmon).
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
|
|
|
@ -4473,9 +4473,13 @@ local void MultiGamePlayerSelectorsUpdate(int initial)
|
|||
// Check if all players are ready.
|
||||
DebugLevel0Fn("READY to START: AVAIL = %d, READY = %d\n" _C_ avail _C_ ready);
|
||||
if (ready == avail) {
|
||||
NetMultiSetupMenuItems[3].flags = 0; // enable start game button
|
||||
if (NetMultiSetupMenuItems[3].flags == MenuButtonDisabled) {
|
||||
// enable start game button
|
||||
NetMultiSetupMenuItems[3].flags = 0;
|
||||
}
|
||||
} else {
|
||||
NetMultiSetupMenuItems[3].flags = MenuButtonDisabled; // disable start game button
|
||||
// disable start game button
|
||||
NetMultiSetupMenuItems[3].flags = MenuButtonDisabled;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue