Skip to content
Permalink
Browse files

Fix OpenTTD#7646: incomplete cleanup for non-threaded world generatio…

…n failure
  • Loading branch information
glx22 committed Oct 26, 2019
1 parent 2f4de0a commit 834bcec87271eeb82ad19167d9a97a24e1489fb7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/genworld.cpp
@@ -140,6 +140,7 @@ static void _GenerateWorld()
if (!GenerateTowns(_settings_game.economy.town_layout)) {
_cur_company.Restore();
HandleGeneratingWorldAbortion();
BasePersistentStorageArray::SwitchMode(PSM_LEAVE_GAMELOOP);
return;
}
GenerateIndustries();

0 comments on commit 834bcec

Please sign in to comment.
You can’t perform that action at this time.