Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use user-set edge mode when saving powder.pref, not the one from the …
…open save
  • Loading branch information
jacob1 committed Apr 2, 2016
1 parent 59d69ac commit 51ff868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/game/GameModel.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 51ff868

Please sign in to comment.