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

This commit is contained in:
jacob1 2016-07-26 19:08:46 -04:00
parent 4f8f97d04b
commit 647ad902fa

View File

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