online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/chat/textedit.gd')
-rw-r--r--ui/chat/textedit.gd6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/chat/textedit.gd b/ui/chat/textedit.gd
index e34a6f4..32abf00 100644
--- a/ui/chat/textedit.gd
+++ b/ui/chat/textedit.gd
@@ -1,6 +1,6 @@
extends ExpandableTextEdit
-signal send(msg)
+signal send()
func _input(event: InputEvent) -> void:
@@ -13,8 +13,6 @@ func _input(event: InputEvent) -> void:
if has_focus():
text = text.strip_edges()
if text:
- emit_signal("send", text)
- text = ""
- emit_signal("text_changed")
+ emit_signal("send")
else:
grab_focus()