mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +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()
|
||||
{
|
||||
controller.Destroy();
|
||||
if (controller)
|
||||
controller.Destroy();
|
||||
Super.OnDestroy();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue