PETKA: do not allow loading when qsystem is null

This commit is contained in:
Andrei Prykhodko 2020-10-11 00:21:24 +03:00
parent 75ea458e0f
commit a65f901276

View File

@ -103,7 +103,7 @@ bool PetkaEngine::canSaveGameStateCurrently() {
}
bool PetkaEngine::canLoadGameStateCurrently() {
return !isDemo();
return !isDemo() && _qsystem;
}
int PetkaEngine::getSaveSlot() {