From 9d990b8c186f10507af184b8037d46a6cc1b5d0a Mon Sep 17 00:00:00 2001 From: dingo Date: Thu, 18 Dec 2025 11:44:44 -0500 Subject: [PATCH] Fix Chat --- scripts/dungeon/dungeon_manager.gd | 4 ++-- scripts/ui/chat_ui.gd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/dungeon/dungeon_manager.gd b/scripts/dungeon/dungeon_manager.gd index e5fa0c9..20799df 100644 --- a/scripts/dungeon/dungeon_manager.gd +++ b/scripts/dungeon/dungeon_manager.gd @@ -1,8 +1,8 @@ extends Node2D # Tile atlas coordinates in your tileset (adjust these to match your tileset) -const FLOOR_ATLAS_COORD := Vector2i(3, 2) # Brown floor tile -const WALL_ATLAS_COORD := Vector2i(1, 0) # Purple wall tile +const FLOOR_ATLAS_COORD := Vector2i(1, 0) # Brown floor tile +const WALL_ATLAS_COORD := Vector2i(3, 2) # Purple wall tile const TILE_SIZE := 16 # Tileset tile size const TILE_SCALE := 2 # Scale up for better visibility diff --git a/scripts/ui/chat_ui.gd b/scripts/ui/chat_ui.gd index ef4c25a..0107bac 100644 --- a/scripts/ui/chat_ui.gd +++ b/scripts/ui/chat_ui.gd @@ -67,7 +67,7 @@ func _on_message_submitted(text: String): if text.strip_edges().is_empty(): _close() return - _add_message(GameState.character.get("name"),text,"normal") + #_add_message(GameState.character.get("name"),text,"normal") print("[ChatUI] Sending chat message: %s" % text) GameState.send_chat(text) chat_input.text = ""