mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Crash fix for executable switches
This commit is contained in:
parent
960774ce5c
commit
279f62aaec
|
|
@ -135,7 +135,7 @@ struct SwitcherData
|
|||
{
|
||||
ExecutableSceneSwitch& s = executableSwitches[i];
|
||||
if (!WeakSourceValid(s.mScene) || !WeakSourceValid(s.mTransition))
|
||||
switches.erase(switches.begin() + i--);
|
||||
executableSwitches.erase(executableSwitches.begin() + i--);
|
||||
}
|
||||
|
||||
if (!WeakSourceValid(idleData.scene) || !WeakSourceValid(idleData.transition))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user