mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 10:49:53 +02:00
Prevent save as current name from showing if there is no save loaded
This commit is contained in:
@@ -852,7 +852,7 @@ void GameController::SaveAsCurrent()
|
||||
//c->LoadSave(&save);
|
||||
}
|
||||
};
|
||||
if(gameModel->GetSave() && gameModel->GetUser().Username != gameModel->GetSave()->GetUserName())
|
||||
if(!gameModel->GetSave() || gameModel->GetUser().Username != gameModel->GetSave()->GetUserName())
|
||||
{
|
||||
OpenSaveWindow();
|
||||
}
|
||||
|
Reference in New Issue
Block a user