online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/chat/Chat.gd')
| -rw-r--r-- | ui/chat/Chat.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/chat/Chat.gd b/ui/chat/Chat.gd index e0cec0c..be4b119 100644 --- a/ui/chat/Chat.gd +++ b/ui/chat/Chat.gd @@ -46,7 +46,7 @@ func add_label_with(data: Dictionary) -> void: func send(t: String) -> void: t = md2bb(t) var name = Creds.get("name") if Creds.get("name") else "Anonymous" - name += "(%s)" % ("Spectator" if Globals.spectating else Globals.team) + name += "(%s)" % ("Spectator" if Globals.spectating else Globals.grid.team) if PacketHandler.is_open_connection(): PacketHandler.relay_signal({"text": t, "who": name}, PacketHandler.RELAYHEADERS.chat) else: |