From a12911424e7950e37051b56179ead96f3288d9d7 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 17 Jun 2015 10:52:55 -0400 Subject: [PATCH] v0.3.0e: fixed succubi causing the game to freeze --- .../shatteredpixeldungeon/actors/mobs/Succubus.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Succubus.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Succubus.java index c369df162..e646b067b 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Succubus.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Succubus.java @@ -113,8 +113,10 @@ public class Succubus extends Mob { } if (candidates.size() > 0) cell = Random.element(candidates); - else + else { + delay = BLINK_DELAY; return; + } } ScrollOfTeleportation.appear( this, cell );