diff options
-rw-r--r-- | client/game.gd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/game.gd b/client/game.gd index c86906b6..be2acd70 100644 --- a/client/game.gd +++ b/client/game.gd @@ -303,6 +303,9 @@ func handle_packet(p): _: push_error("Unrecognized packet type: %s" % p.type) func join(): + if join_sent: + push_error("Join was already sent. Tried to join twice.") + return join_sent = true mp.send_join(Global.get_profile("username"), Global.get_profile("character")) |