Skip to content

Commit fb912d2

Browse files
committed
I'm stoopid
1 parent f948af9 commit fb912d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Code/MethodSystem/Methods/PickupMethods/SpawnPickupPosMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void SpawnPickup(Pickup obj, Vector3 pos, Method caller)
5353
obj.GameObject.SetActive(true);
5454
if (NetworkServer.spawned.ContainsValue(obj.NetworkIdentity))
5555
throw new ScriptRuntimeError(caller, Singleton.ErrorReasons[0]);
56-
NetworkServer.Spawn(obj.GameObject);
56+
obj.Spawn();
5757
if (obj is Projectile projectile)
5858
projectile.Base.ServerActivate();
5959
}

0 commit comments

Comments
 (0)