mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 11:41:51 +02:00
make sure that simulation variables are initialized, fixes things like water equalization always being on in old saves
This commit is contained in:
@@ -171,6 +171,12 @@ void GameSave::Expand()
|
||||
{
|
||||
if(hasOriginalData && !expanded)
|
||||
{
|
||||
waterEEnabled = 0;
|
||||
legacyEnable = 0;
|
||||
gravityEnable = 0;
|
||||
paused = 0;
|
||||
gravityMode = 0;
|
||||
airMode = 0;
|
||||
expanded = true;
|
||||
read(&originalData[0], originalData.size());
|
||||
}
|
||||
|
Reference in New Issue
Block a user