aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-21 23:07:42 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-21 23:07:42 +0200
commite3032257713adf9f9f5b9d312f6b0cf2aed53404 (patch)
tree5fd35df07abb875038ba15957697b3d232938bb5 /client/game.gd
parentb44e489132ec7befec39a61bda5adcef159cbbcb (diff)
downloadhurrycurry-e3032257713adf9f9f5b9d312f6b0cf2aed53404.tar
hurrycurry-e3032257713adf9f9f5b9d312f6b0cf2aed53404.tar.bz2
hurrycurry-e3032257713adf9f9f5b9d312f6b0cf2aed53404.tar.zst
update invalid message handling
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index 152417e0..eb3436c5 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -260,8 +260,10 @@ func handle_packet(p):
player.text_message(data)
text_message.emit(data)
text_message_history.append(data)
+ elif "tile" in p.message:
+ push_error("TODO: tile message")
else:
- push_error("neither text, item nor effect provided")
+ push_error("unknown message kind")
else:
var player: Player = players[p.player]
if player.is_customer and player.current_item_message != null: