diff --git a/wadsrc/static/zscript/ui/intermission.zs b/wadsrc/static/zscript/ui/intermission.zs index cdf4ce03cd..657be98bad 100644 --- a/wadsrc/static/zscript/ui/intermission.zs +++ b/wadsrc/static/zscript/ui/intermission.zs @@ -32,7 +32,8 @@ class IntermissionScreenJob : ScreenJob override void OnDestroy() { - controller.Destroy(); + if (controller) + controller.Destroy(); Super.OnDestroy(); } }