mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
Fix: close Textfile windows when closing Option window
This commit is contained in:
parent
0355f887d9
commit
8418e27403
@ -182,6 +182,7 @@ struct GameOptionsWindow : Window {
|
||||
~GameOptionsWindow()
|
||||
{
|
||||
DeleteWindowById(WC_CUSTOM_CURRENCY, 0);
|
||||
DeleteWindowByClass(WC_TEXTFILE);
|
||||
if (this->reload) _switch_mode = SM_MENU;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user