Fixed multiplayer connecting menu bug when starting a second game

This commit is contained in:
jsalmon3 2002-06-24 04:23:45 +00:00
parent 8ced57884e
commit 50ffb0971b

View file

@ -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;