mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Save house after opening so it doesn't throw an IO error if the user quits immediately.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user