Skip to content

Commit

Permalink
don't reset edge mode when saving local saves
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 30, 2016
1 parent dfdee7a commit ecddfcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/game/GameController.cpp
Expand Up @@ -1351,7 +1351,7 @@ void GameController::SaveAsCurrent()
GameController * c;
public:
SaveUploadedCallback(GameController * _c): c(_c) {}
virtual ~SaveUploadedCallback() {};
virtual ~SaveUploadedCallback() {}
virtual void SaveUploaded(SaveInfo save)
{
c->LoadSave(&save);
Expand Down
1 change: 0 additions & 1 deletion src/gui/game/GameModel.cpp
Expand Up @@ -654,7 +654,6 @@ void GameModel::SetSaveFile(SaveFile * newSave)
{
sim->grav->stop_grav_async();
}
sim->SetEdgeMode(0);
sim->clear_sim();
ren->ClearAccumulation();
sim->Load(saveData);
Expand Down

0 comments on commit ecddfcb

Please sign in to comment.