✨ changed scene loading flow
This commit is contained in:
@@ -117,9 +117,13 @@ internal class SnapshotHandler : Handler
|
||||
entity.Attach(_client, entityId, entityType, hasAuthority, player);
|
||||
}
|
||||
|
||||
if (_client.Status != RagonStatus.ROOM)
|
||||
_listenerList.OnJoined();
|
||||
|
||||
if (_client.Status == RagonStatus.LOBBY)
|
||||
{
|
||||
_client.SetStatus(RagonStatus.ROOM);
|
||||
|
||||
_listenerList.OnJoined();
|
||||
}
|
||||
|
||||
_listenerList.OnSceneLoaded();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user