v0.3.3: fixed a bug with ethereal chains and enemy visibility
This commit is contained in:
parent
0c68376863
commit
f797e3464b
|
@ -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);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user