v2.1.0: fixed some effects resolving before return beacon teleports
This commit is contained in:
@@ -142,7 +142,9 @@ public class BeaconOfReturning extends Spell {
|
||||
}
|
||||
}
|
||||
|
||||
if (!ScrollOfTeleportation.teleportToLocation(hero, returnPos)){
|
||||
if (ScrollOfTeleportation.teleportToLocation(hero, returnPos)){
|
||||
hero.spendAndNext( 1f );
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -161,7 +163,6 @@ public class BeaconOfReturning extends Spell {
|
||||
InterlevelScene.returnPos = returnPos;
|
||||
Game.switchScene( InterlevelScene.class );
|
||||
}
|
||||
hero.spendAndNext( 1f );
|
||||
detach(hero.belongings.backpack);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user