Save house after opening so it doesn't throw an IO error if the user quits immediately.

This commit is contained in:
elasota
2020-06-20 02:16:43 -04:00
parent c204b5ef7f
commit 82b93c627e

View File

@@ -460,6 +460,7 @@ void DoHouseMenu (short theItem)
if (CreateNewHouse())
{
whoCares = InitializeEmptyHouse();
whoCares = WriteHouse(false); // Save initial house so it's not an empty file if reloaded immediately
OpenCloseEditWindows();
}
break;