diff --git a/wadsrc/static/zscript/doom/bossbrain.txt b/wadsrc/static/zscript/doom/bossbrain.txt index 163683f27..41954c3ca 100644 --- a/wadsrc/static/zscript/doom/bossbrain.txt +++ b/wadsrc/static/zscript/doom/bossbrain.txt @@ -284,6 +284,12 @@ extend class Actor Actor eye = master; // The eye is the spawnshot's master, not the target! Actor targ = target; // Unlike other projectiles, the target is the intended destination. int r; + + if (targ == null) + { + Destroy(); + return; + } // [GZ] Should be more viable than a countdown... if (special2 != 0)