mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-23 13:12:40 +01:00
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
This commit is contained in:
@@ -1103,6 +1103,7 @@ void SwitchToMode(SwitchMode new_mode)
|
||||
|
||||
if (_switch_mode_errorstr != INVALID_STRING_ID) {
|
||||
ShowErrorMessage(_switch_mode_errorstr, INVALID_STRING_ID, WL_CRITICAL);
|
||||
_switch_mode_errorstr = INVALID_STRING_ID;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user