diff --git a/src/gui/game/GameModel.cpp b/src/gui/game/GameModel.cpp index def115ae4..e79bd1175 100644 --- a/src/gui/game/GameModel.cpp +++ b/src/gui/game/GameModel.cpp @@ -146,7 +146,7 @@ GameModel::~GameModel() Client::Ref().SetPref("Renderer.Decorations", (bool)ren->decorations_enable); Client::Ref().SetPref("Renderer.DebugMode", ren->debugLines); //These two should always be equivalent, even though they are different things - Client::Ref().SetPref("Simulation.EdgeMode", sim->edgeMode); + Client::Ref().SetPref("Simulation.EdgeMode", edgeMode); Client::Ref().SetPref("Simulation.NewtonianGravity", sim->grav->ngrav_enable); Client::Ref().SetPref("Simulation.AmbientHeat", sim->aheat_enable); Client::Ref().SetPref("Simulation.PrettyPowder", sim->pretty_powder);