Skip to content

Commit d32fbc6

Browse files
authored
Fix reefbacks barnacles being too small (SubnauticaNitrox#2506)
2 parents ea019cc + 74e848c commit d32fbc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

NitroxClient/GameLogic/Spawning/WorldEntities/ReefbackChildEntitySpawner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ private static void SetupObject(ReefbackChildEntity entity, GameObject gameObjec
8181

8282
transform.localPosition = entity.Transform.LocalPosition.ToUnity();
8383
transform.localRotation = entity.Transform.LocalRotation.ToUnity();
84-
transform.localScale = entity.Transform.LocalScale.ToUnity();
85-
84+
// We don't set the localScale because it is already correct from the prefab but the server doesn't know about it (which doesn't matter)
85+
8686
// Positioning from ReefbackLife.SpawnPlants and ReefbackLife.SpawnCreatures
8787
switch (entity.Type)
8888
{

0 commit comments

Comments
 (0)