From 144ad84cacf55f1b6c7741503a26fb12912fb795 Mon Sep 17 00:00:00 2001 From: dingo Date: Tue, 14 Apr 2026 11:07:56 -0400 Subject: [PATCH] minor bug fixes --- Client/origin-client/autoloads/Game.gd | 6 ++++-- Client/origin-client/scenes/chat/ChatOverlay.tscn | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Client/origin-client/autoloads/Game.gd b/Client/origin-client/autoloads/Game.gd index 51e35d9..b5661d6 100644 --- a/Client/origin-client/autoloads/Game.gd +++ b/Client/origin-client/autoloads/Game.gd @@ -402,7 +402,8 @@ func _player_by_id(account_id: String) -> Dictionary: func _apply_delta(delta: Dictionary) -> void: # Helper: dict.get(key, default) returns null (not default) when the key exists with value null. # Use 'is Array' / 'is Dictionary' guards so typed assignment never receives null. - print("DELTA: ", delta) + if debug_output: + print("DELTA: ", delta) # 1. Changed tiles var changed_tiles = delta.get("changedTiles") if changed_tiles is Array: @@ -623,7 +624,8 @@ func _on_server_push(type: String, payload: Variant) -> void: % [_state_version, v]) _fetch_state() return - print("[Delta] ", delta) + if debug_output: + print("[Delta] ", delta) _apply_delta(delta) "game.over": diff --git a/Client/origin-client/scenes/chat/ChatOverlay.tscn b/Client/origin-client/scenes/chat/ChatOverlay.tscn index 8e6fd10..85a0343 100644 --- a/Client/origin-client/scenes/chat/ChatOverlay.tscn +++ b/Client/origin-client/scenes/chat/ChatOverlay.tscn @@ -12,10 +12,10 @@ anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 -offset_left = -106.0 -offset_top = -422.0 -offset_right = -46.0 -offset_bottom = -362.0 +offset_left = -58.0 +offset_top = -219.0 +offset_right = 2.0 +offset_bottom = -159.0 grow_horizontal = 0 grow_vertical = 0 theme_override_font_sizes/font_size = 12