tweak consoler
This commit is contained in:
parent
ed41775543
commit
f9603e0a5a
@ -17,5 +17,7 @@ func _process_input() -> void:
|
|||||||
while text != "quit":
|
while text != "quit":
|
||||||
print("Insert some text: ")
|
print("Insert some text: ")
|
||||||
text = OS.read_string_from_stdin().strip_edges()
|
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()
|
get_tree().quit()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user