diff --git a/src/game/engine/scenes/world_map/world_map_arena.gd b/src/game/engine/scenes/world_map/world_map_arena.gd index 1e312484..e6be7c5e 100644 --- a/src/game/engine/scenes/world_map/world_map_arena.gd +++ b/src/game/engine/scenes/world_map/world_map_arena.gd @@ -84,10 +84,19 @@ func setup(world_map: Node) -> void: func _disable_blocking_overlays() -> void: - ## VictoryScreen calls get_tree().paused = true on victory, which would - ## freeze the timer that writes our result file. AiTurnOverlay dims the - ## screen during AI turns — useless when both players are AI. - for child_name: String in ["VictoryScreen", "AiTurnOverlay"]: + ## Free any HUD/overlay that would obscure or pause the arena view: + ## - VictoryScreen / DefeatScreen call get_tree().paused = true, which + ## would freeze the timer that writes the result file. + ## - AiTurnOverlay dims the screen during AI turns — useless when both + ## players are AI. + ## - TurnNotification shows a "Processing..." label + dim rect at every + ## end-turn, covering the whole gameplay view at screensaver scale. + for child_name: String in [ + "VictoryScreen", + "DefeatScreen", + "AiTurnOverlay", + "TurnNotification", + ]: var node: Node = _world_map.get_node_or_null(child_name) if node != null: node.queue_free()