From 8da5e502f4249653fa177488857d78ad405578e1 Mon Sep 17 00:00:00 2001 From: Frank Wallace Potratz de Andrade Date: Sat, 27 Nov 2021 15:02:47 -0400 Subject: [PATCH] Fixed bracket position --- Assets/_PerpetualJourney/Scripts/Components/TransformOffset.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/_PerpetualJourney/Scripts/Components/TransformOffset.cs b/Assets/_PerpetualJourney/Scripts/Components/TransformOffset.cs index 510443ad..b40d3af8 100644 --- a/Assets/_PerpetualJourney/Scripts/Components/TransformOffset.cs +++ b/Assets/_PerpetualJourney/Scripts/Components/TransformOffset.cs @@ -40,7 +40,8 @@ private void UpdateLockScale() _lockScale = _lockPos.ToScale(); } - private void FixedUpdate() { + private void FixedUpdate() + { if(_target != null) { MoveToOffsetPosition();