aboutsummaryrefslogtreecommitdiff
path: root/client/menu/communicate/chat/chat_open.gd
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-06-18 22:29:59 +0200
committertpart <tpart120@proton.me>2025-06-18 22:30:03 +0200
commit05fe59c831a5f1b7f0666d617f275a86a6ce4d35 (patch)
tree9f0e0c16e390486611dbbbe3b7ac2748339d011c /client/menu/communicate/chat/chat_open.gd
parentdc86da97ca960ce2ecebb3fde3c4122a56529bb8 (diff)
downloadhurrycurry-05fe59c831a5f1b7f0666d617f275a86a6ce4d35.tar
hurrycurry-05fe59c831a5f1b7f0666d617f275a86a6ce4d35.tar.bz2
hurrycurry-05fe59c831a5f1b7f0666d617f275a86a6ce4d35.tar.zst
Consider players interact targets; Rewrite a lot of interact target code; Fix #321
Diffstat (limited to 'client/menu/communicate/chat/chat_open.gd')
-rw-r--r--client/menu/communicate/chat/chat_open.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/menu/communicate/chat/chat_open.gd b/client/menu/communicate/chat/chat_open.gd
index af691f39..41d4727e 100644
--- a/client/menu/communicate/chat/chat_open.gd
+++ b/client/menu/communicate/chat/chat_open.gd
@@ -37,7 +37,7 @@ func _ready() -> void:
func _input(event: InputEvent) -> void:
if Input.is_action_just_pressed("chat"):
if line.text != "":
- game.mp.send_chat(game.player_id, line.text)
+ game.mp.send_chat(game.my_player_id, line.text)
exit()
super(event)