Fixed multiplayer connecting menu bug when starting a second game
This commit is contained in:
parent
8ced57884e
commit
50ffb0971b
1 changed files with 6 additions and 0 deletions
|
@ -1587,12 +1587,18 @@ global void InitMenus(unsigned int race)
|
|||
const char *file;
|
||||
char *buf;
|
||||
|
||||
#ifndef OLD_MENU
|
||||
InitMenuData();
|
||||
#endif
|
||||
|
||||
if (race == last_race) { // same race? already loaded!
|
||||
return;
|
||||
}
|
||||
|
||||
if (last_race == -1) {
|
||||
#ifdef OLD_MENU
|
||||
InitMenuData();
|
||||
#endif
|
||||
|
||||
callbacks.ButtonPressed = &MenuHandleButtonDown;
|
||||
callbacks.ButtonReleased = &MenuHandleButtonUp;
|
||||
|
|
Loading…
Add table
Reference in a new issue