Skip to content

Commit

Permalink
take ctrl+z snapshot before placing a stamp, not after
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jul 26, 2016
1 parent 4f8f97d commit 647ad90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/game/GameController.cpp
Expand Up @@ -283,11 +283,11 @@ sign * GameController::GetSignAt(int x, int y)

void GameController::PlaceSave(ui::Point position)
{
if(gameModel->GetPlaceSave())
if (gameModel->GetPlaceSave())
{
HistorySnapshot();
gameModel->GetSimulation()->Load(position.X, position.Y, gameModel->GetPlaceSave());
gameModel->SetPaused(gameModel->GetPlaceSave()->paused | gameModel->GetPaused());
HistorySnapshot();
}
}

Expand Down

0 comments on commit 647ad90

Please sign in to comment.