Rename close window functions to match upstream
This commit is contained in:
@@ -528,7 +528,7 @@ static WindowDesc _cheats_desc(
|
||||
/** Open cheat window. */
|
||||
void ShowCheatWindow()
|
||||
{
|
||||
DeleteWindowById(WC_CHEATS, 0);
|
||||
CloseWindowById(WC_CHEATS, 0);
|
||||
if (!_networking || _network_server || _network_settings_access || _settings_game.difficulty.money_cheat_in_multiplayer) {
|
||||
new CheatWindow(&_cheats_desc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user