diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java index 66c0c9fc2..9ea19b5a5 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/Guard.java @@ -108,14 +108,17 @@ public class Guard extends Mob { yell( Messages.get(this, "scorpion") ); sprite.parent.add(new Chains(pos, enemy.pos, new Callback() { public void call() { - Actor.addDelayed(new Pushing(enemy, enemy.pos, newPosFinal), -1); - enemy.pos = newPosFinal; - Dungeon.level.press(newPosFinal, enemy); - Cripple.prolong(enemy, Cripple.class, 4f); - if (enemy == Dungeon.hero) { - Dungeon.hero.interrupt(); - Dungeon.observe(); - } + Actor.addDelayed(new Pushing(enemy, enemy.pos, newPosFinal, new Callback(){ + public void call() { + enemy.pos = newPosFinal; + Dungeon.level.press(newPosFinal, enemy); + Cripple.prolong(enemy, Cripple.class, 4f); + if (enemy == Dungeon.hero) { + Dungeon.hero.interrupt(); + Dungeon.observe(); + } + } + }), -1); next(); } }));