aboutsummaryrefslogtreecommitdiff
path: root/client/menu/communicate/chat/chat_open.gd
diff options
context:
space:
mode:
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)