v2.1.2: fixed rapier lunge updating visibility after attack not before

This commit is contained in:
Evan Debenham
2023-06-15 13:12:03 -04:00
parent 2f96c867ba
commit a5f740ab73
@@ -121,6 +121,7 @@ public class Rapier extends MeleeWeapon {
}
hero.pos = dest;
Dungeon.level.occupyCell(hero);
Dungeon.observe();
if (enemy != null && hero.canAttack(enemy)) {
hero.sprite.attack(enemy.pos, new Callback() {