Skip to content

Commit 1835867

Browse files
committed
requested change
1 parent 70cfabf commit 1835867

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

NitroxClient/GameLogic/Spawning/WorldEntities/PlaceholderGroupWorldEntitySpawner.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,7 @@ public IEnumerator SpawnAsync(WorldEntity entity, Optional<GameObject> parent, E
121121
}
122122
}
123123

124-
if (prefabPlaceholderGroup.OnPrefabGroupSpawned != null) // Handles setting isKinematic on Floating Stones
125-
{
126-
prefabPlaceholderGroup.OnPrefabGroupSpawned();
127-
}
124+
prefabPlaceholderGroup.OnPrefabGroupSpawned?.Invoke(); // Handles setting isKinematic on Floating Stones
128125

129126
result.Set(prefabPlaceholderGroupGameObject);
130127
}

0 commit comments

Comments
 (0)