Permalink
Browse files

take ctrl+z snapshot before placing a stamp, not after

  • Loading branch information...
jacob1 committed Jul 26, 2016
1 parent 4f8f97d commit 647ad902fa4d38657e3066f151ed4c94c1a8f0e1
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/game/GameController.cpp
@@ -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();
}
}

0 comments on commit 647ad90

Please sign in to comment.