mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-29 10:49:53 +02:00
Fix local browser sometimes failing to load saves
Namely when they have been scrolled past already so they have been unloaded to save memory.
This commit is contained in:
@@ -268,7 +268,7 @@ void SaveButton::OnMouseUnclick(int x, int y, unsigned int button)
|
|||||||
{
|
{
|
||||||
return; //left click only!
|
return; //left click only!
|
||||||
}
|
}
|
||||||
if (file && !file->GetGameSave())
|
if (file && !file->LazyGetGameSave())
|
||||||
{
|
{
|
||||||
new ErrorMessage("Error loading save", file->GetError());
|
new ErrorMessage("Error loading save", file->GetError());
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user