aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-09-28 10:55:20 +0200
committernokoe <nokoe@mailbox.org>2024-09-28 10:55:20 +0200
commit0889f61f1d761726fcec17a3a2a0fb45b66c2116 (patch)
tree292e1bacfb2be5e42d018d12125a236bd7fdfb14 /client
parent9469650dd3102336330e574f1c2b38067c733a5e (diff)
downloadhurrycurry-0889f61f1d761726fcec17a3a2a0fb45b66c2116.tar
hurrycurry-0889f61f1d761726fcec17a3a2a0fb45b66c2116.tar.bz2
hurrycurry-0889f61f1d761726fcec17a3a2a0fb45b66c2116.tar.zst
allow joining after leaving; fixes #172
Diffstat (limited to 'client')
-rw-r--r--client/game.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/game.gd b/client/game.gd
index 76bb271a..cd678897 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -100,6 +100,7 @@ func handle_packet(p):
player_instance.onscreen_controls.in_lobby_updated(in_lobby)
camera.target = player_instance.movement_base
is_joined = true
+ join_sent = false
joined.emit()
else:
player_instance = Player.new(p.id, p.name, p.position, p.character, self)