- fixed: The BossCube must account for its target being gone.

This commit is contained in:
Christoph Oelckers 2018-07-27 08:46:28 +02:00
parent 79f0deaff4
commit 9653aa95a4

View file

@ -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)