v0.3.0e: fixed succubi causing the game to freeze

This commit is contained in:
Evan Debenham 2015-06-17 10:52:55 -04:00 committed by Evan Debenham
parent 5ed738a5eb
commit a12911424e

View File

@ -113,9 +113,11 @@ public class Succubus extends Mob {
}
if (candidates.size() > 0)
cell = Random.element(candidates);
else
else {
delay = BLINK_DELAY;
return;
}
}
ScrollOfTeleportation.appear( this, cell );