forked from SoDOff-Project/sodoff-mmo
bugfix in JoinRoom
This commit is contained in:
parent
83e56f745d
commit
445d032a74
@ -64,8 +64,8 @@ public class Client {
|
|||||||
lock(ClientLock) {
|
lock(ClientLock) {
|
||||||
LeaveRoom();
|
LeaveRoom();
|
||||||
PlayerData.IsValid = false;
|
PlayerData.IsValid = false;
|
||||||
Room.AddClient(this);
|
|
||||||
Room = room;
|
Room = room;
|
||||||
|
Room.AddClient(this);
|
||||||
}
|
}
|
||||||
Send(Room.SubscribeRoom());
|
Send(Room.SubscribeRoom());
|
||||||
UpdatePlayerUserVariables();
|
UpdatePlayerUserVariables();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user