mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 10:54:15 +02:00
take ctrl+z snapshot before placing a stamp, not after
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user