mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-26 06:40:22 +00:00
Merge branch 'clear_lua_actions' into 'master'
Fix quickload causing a crash with certain Lua queued actions Closes #7801 See merge request OpenMW/openmw!3833
This commit is contained in:
commit
62f2f4a011
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user