File tree Expand file tree Collapse file tree
Explorer/Assets/DCL/Infrastructure/Global/Dynamic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929using Unity . Mathematics ;
3030using Utility ;
3131
32- namespace Global . Dynamic
32+ namespace Global . Dynamic
3333{
3434 public class RealmController : IGlobalRealmController
3535 {
@@ -43,7 +43,8 @@ public class RealmController : IGlobalRealmController
4343 . WithNone < DeleteEntityIntention , ISceneFacade > ( ) ;
4444
4545 private static readonly QueryDescription INVALIDATE_PARTITIONS = new QueryDescription ( )
46- . WithAll < PartitionComponent , ISceneFacade > ( ) ;
46+ . WithAll < PartitionComponent , ISceneFacade > ( )
47+ . WithNone < PortableExperienceComponent , SmartWearableId > ( ) ;
4748
4849 private readonly List < ISceneFacade > allScenes = new ( PoolConstants . SCENES_COUNT ) ;
4950 private readonly ServerAbout serverAbout = new ( ) ;
@@ -303,10 +304,7 @@ private async UniTask UnloadCurrentRealmAsync()
303304 private void InvalidateScenePartitions ( World world )
304305 {
305306 world . Query ( in INVALIDATE_PARTITIONS ,
306- ( ref PartitionComponent partitionComponent ) =>
307- {
308- partitionComponent . Bucket = byte . MaxValue ;
309- } ) ;
307+ ( ref PartitionComponent partitionComponent ) => { partitionComponent . Bucket = byte . MaxValue ; } ) ;
310308 }
311309
312310 private void ComplimentWithVolatilePointers ( World world , Entity realmEntity )
You can’t perform that action at this time.
0 commit comments