diff --git a/Code/NightPool/NightPool.cs b/Code/NightPool/NightPool.cs index b1a8671..890e569 100644 --- a/Code/NightPool/NightPool.cs +++ b/Code/NightPool/NightPool.cs @@ -287,11 +287,7 @@ private static async void DefaultDespawn(GameObject toDespawn, float delay = 0f) private static void SetupTransform(Transform transform, Vector3 position, Quaternion rotation, Transform parent = null, bool worldPositionStays = false) { - if (parent != null) - { - transform.SetParent(parent, worldPositionStays); - } - + transform.SetParent(parent, worldPositionStays); transform.SetPositionAndRotation(position, rotation); }