From f12d72ae87c11772684073b70e7fa03d196ba64c Mon Sep 17 00:00:00 2001 From: Claude Code Date: Fri, 10 Apr 2026 12:35:25 -0700 Subject: [PATCH] =?UTF-8?q?fix(game-engine):=20=F0=9F=90=9B=20Update=20typ?= =?UTF-8?q?e=20annotation=20in=20ChroniclePanel=20and=20WorldMapVision=20t?= =?UTF-8?q?o=20use=20RefCounted=20for=20observation=20store,=20aligning=20?= =?UTF-8?q?with=20GameState.get=5Fobservation=5Fstore()=20return=20type.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- src/game/engine/scenes/hud/chronicle_panel.gd | 2 +- src/game/engine/scenes/world_map/world_map_vision.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/engine/scenes/hud/chronicle_panel.gd b/src/game/engine/scenes/hud/chronicle_panel.gd index 28c8b256..3444956b 100644 --- a/src/game/engine/scenes/hud/chronicle_panel.gd +++ b/src/game/engine/scenes/hud/chronicle_panel.gd @@ -332,7 +332,7 @@ func _request_frame_render() -> void: var game_map: RefCounted = GameState.get_game_map() if game_map == null: return - var store: GdObservationStore = GameState.get_observation_store( + var store: RefCounted = GameState.get_observation_store( _current_player_index, game_map.width, game_map.height ) if store == null: diff --git a/src/game/engine/scenes/world_map/world_map_vision.gd b/src/game/engine/scenes/world_map/world_map_vision.gd index a07432b3..a5773a88 100644 --- a/src/game/engine/scenes/world_map/world_map_vision.gd +++ b/src/game/engine/scenes/world_map/world_map_vision.gd @@ -30,7 +30,7 @@ static func record_observations(player: RefCounted, game_map: RefCounted) -> voi var grid: RefCounted = GameState.get("_grid_state") if grid == null: return - var store: GdObservationStore = GameState.get_observation_store( + var store: RefCounted = GameState.get_observation_store( player.index, game_map.width, game_map.height ) if store == null: