mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-12 23:25:21 +00:00
- fix uncaught exception that rarely occurred with the intermission screen that would vm-abort out from any attempt to enter a level
This commit is contained in:
parent
fc7bb4a7e6
commit
d388d19793
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ class IntermissionScreenJob : ScreenJob
|
||||||
|
|
||||||
override void OnDestroy()
|
override void OnDestroy()
|
||||||
{
|
{
|
||||||
controller.Destroy();
|
if (controller)
|
||||||
|
controller.Destroy();
|
||||||
Super.OnDestroy();
|
Super.OnDestroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue