mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 02:23:53 +00:00
Queue quick loads
This commit is contained in:
parent
1338e884a9
commit
a1970857fd
1 changed files with 2 additions and 1 deletions
|
@ -693,7 +693,8 @@ void MWState::StateManager::quickLoad()
|
||||||
{
|
{
|
||||||
if (currentCharacter->begin() == currentCharacter->end())
|
if (currentCharacter->begin() == currentCharacter->end())
|
||||||
return;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue