mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +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())
|
if (CreateNewHouse())
|
||||||
{
|
{
|
||||||
whoCares = InitializeEmptyHouse();
|
whoCares = InitializeEmptyHouse();
|
||||||
|
whoCares = WriteHouse(false); // Save initial house so it's not an empty file if reloaded immediately
|
||||||
OpenCloseEditWindows();
|
OpenCloseEditWindows();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user