Fix Chat
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user