From 15449f006165bbb197f494b370041e85b3bbe427 Mon Sep 17 00:00:00 2001 From: dingo Date: Mon, 16 Mar 2026 10:48:15 -0400 Subject: [PATCH] Fix: show move tiles after attacking (isExhausted != no MP) _valid_move_tiles was gating on isExhausted, but the server tracks movement and attacks independently. isExhausted=true only means the unit has attacked this turn; movement is governed solely by currentMp. Removing the exhaustion check restores move highlights after an attack. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- Client/origin-client/scenes/game/game_screen.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 8e28e5e..9aef181 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -1181,7 +1181,7 @@ func _valid_move_tiles(unit: Dictionary) -> Array: var mp : int = unit.get("currentMp", 0) var bw : int = Game.board_width() var bh : int = Game.board_height() - if mp <= 0 or unit.get("isExhausted", false): return results + if mp <= 0: return results for tx in range(bw): for ty in range(bh): var dist : int = abs(tx - ux) + abs(ty - uy)