1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 21:23:54 +00:00

Queue quick loads

This commit is contained in:
uramer 2024-02-03 15:18:34 +01:00
parent 1338e884a9
commit a1970857fd

View file

@ -693,7 +693,8 @@ void MWState::StateManager::quickLoad()
{
if (currentCharacter->begin() == currentCharacter->end())
return;
loadGame(currentCharacter, currentCharacter->begin()->mPath); // Get newest save
// use requestLoad, otherwise we can crash by loading during the wrong part of the frame
requestLoad(currentCharacter->begin()->mPath);
}
}