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:
Tamás Bálint Misius 2023-09-12 19:28:11 +02:00
parent fcba9f1f2e
commit a2c82444aa
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -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;