v0.6.2: more safety checks in tengu logic

This commit is contained in:
Evan Debenham 2017-10-24 17:39:30 -04:00
parent a6dd56569b
commit 6a7d37b228

View File

@ -181,6 +181,7 @@ public class Tengu extends Mob {
}
if (enemy == null) enemy = chooseEnemy();
if (enemy == null) return;
int newPos;
//if we're in phase 1, want to warp around within the room