Only refresh collision world if scene is ready and NPC colliders changed
This commit is contained in:
@@ -5253,7 +5253,7 @@ export class RuntimeHost {
|
|||||||
this.activeScheduledImpulseRoutineIds =
|
this.activeScheduledImpulseRoutineIds =
|
||||||
syncResult.nextActiveImpulseRoutineIds;
|
syncResult.nextActiveImpulseRoutineIds;
|
||||||
|
|
||||||
if (syncResult.npcColliderCollectionChanged) {
|
if (syncResult.npcColliderCollectionChanged && this.sceneReady) {
|
||||||
this.refreshCollisionWorldForNpcSchedule();
|
this.refreshCollisionWorldForNpcSchedule();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user