diff --git a/Sources/FocusEntity/FocusEntity.swift b/Sources/FocusEntity/FocusEntity.swift index 0433185..60f71cc 100644 --- a/Sources/FocusEntity/FocusEntity.swift +++ b/Sources/FocusEntity/FocusEntity.swift @@ -83,8 +83,8 @@ open class FocusEntity: Entity, HasAnchoring, HasFocusEntity { public private(set) var isAutoUpdating: Bool = false public func setAutoUpdate(to autoUpdate: Bool) { - guard autoUpdate == self.isAutoUpdating, - (autoUpdate && self.arView == nil) else { + guard autoUpdate != self.isAutoUpdating, + !(autoUpdate && self.arView == nil) else { return } self.updateCancellable?.cancel()