tweak consoler

This commit is contained in:
Teatov 2025-02-15 02:04:54 +10:00
parent ed41775543
commit f9603e0a5a

View File

@ -17,5 +17,7 @@ func _process_input() -> void:
while text != "quit":
print("Insert some text: ")
text = OS.read_string_from_stdin().strip_edges()
Referencer.chat.send_server_message(text)
print("Inserted text: ",text)
if Referencer.chat:
Referencer.chat.send_server_message(text)
get_tree().quit()