From 232e06de6d52d0367c36a5f3e0715d01ea41f7a9 Mon Sep 17 00:00:00 2001 From: dingo Date: Tue, 7 Apr 2026 14:49:16 -0400 Subject: [PATCH] Allow terramorpha to re-select first tile as third pick For tri-morpha, tile 1 is adjacent to tile 2, so it must be a valid choice for tile 3. The previous duplicate guard blocked this. The adjacency check (_board_distance != 1) already prevents picking the same tile back-to-back (distance 0), so the dedup was redundant and only hurt the re-pick case. Removed both the click-handler guard and the matching skip in the next-pick highlight loop. 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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 4b320a3..73b3d40 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -2916,9 +2916,7 @@ func _handle_board_click(mouse_pos: Vector2) -> void: var last : Vector2i = _terra_targets.back() if _board_distance(coord.x, coord.y, last.x, last.y) != 1: return # must be adjacent - # Avoid duplicates. print("Handle Board Click: terra targets: ", _terra_targets) - if _terra_targets.has(coord): return _terra_targets.append(coord) print("Added Target") if _terra_targets.size() >= _terra_count: @@ -2948,7 +2946,6 @@ func _handle_board_click(mouse_pos: Vector2) -> void: var ny := last2.y + d.y if nx < 0 or ny < 0 or nx >= bw2 or ny >= bh2: continue if not _tile_bodies.has("%d,%d" % [nx, ny]): continue - if _terra_targets.has(Vector2i(nx, ny)): continue _add_highlight(nx, ny, "movement") Mode.UNIT_SELECTED: