From 445d032a743753745d6807a69896b91dfb8efb20 Mon Sep 17 00:00:00 2001 From: Robert Paciorek Date: Sat, 16 Mar 2024 20:11:33 +0000 Subject: [PATCH] bugfix in JoinRoom --- src/Core/Client.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Client.cs b/src/Core/Client.cs index e7838e3..f736b91 100644 --- a/src/Core/Client.cs +++ b/src/Core/Client.cs @@ -64,8 +64,8 @@ public class Client { lock(ClientLock) { LeaveRoom(); PlayerData.IsValid = false; - Room.AddClient(this); Room = room; + Room.AddClient(this); } Send(Room.SubscribeRoom()); UpdatePlayerUserVariables();