From f797e3464b81d24813c43afd37c60f964893f5dc Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 15 Dec 2015 22:18:17 -0500 Subject: [PATCH] v0.3.3: fixed a bug with ethereal chains and enemy visibility --- .../items/artifacts/EtherealChains.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java index 82781072d..f4f08445e 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/EtherealChains.java @@ -120,11 +120,14 @@ public class EtherealChains extends Artifact { curUser.busy(); curUser.sprite.parent.add(new Chains(curUser.pos, affected.pos, new Callback() { public void call() { - Actor.add(new Pushing(affected, affected.pos, newMobPos)); + Actor.add(new Pushing(affected, affected.pos, newMobPos, new Callback() { + public void call() { + Dungeon.level.press(newMobPos, affected); + } + })); affected.pos = newMobPos; Dungeon.observe(); curUser.spendAndNext(1f); - Dungeon.level.press(newMobPos, affected); } })); }