From 82b93c627ef75b6f635cdeba4770c53eb4a227b2 Mon Sep 17 00:00:00 2001 From: elasota Date: Sat, 20 Jun 2020 02:16:43 -0400 Subject: [PATCH] Save house after opening so it doesn't throw an IO error if the user quits immediately. --- GpApp/Menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GpApp/Menu.cpp b/GpApp/Menu.cpp index 19c72e4..a62dafe 100644 --- a/GpApp/Menu.cpp +++ b/GpApp/Menu.cpp @@ -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;