From fb736a036fe635d6fdc6dce591c1f17364e803ee Mon Sep 17 00:00:00 2001 From: sebastianhampel1 Date: Thu, 15 Jun 2023 12:34:59 -0400 Subject: [PATCH] Update PistolComponent.cs --- Assets/Scripts/Item/Pistol/PistolComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Item/Pistol/PistolComponent.cs b/Assets/Scripts/Item/Pistol/PistolComponent.cs index fa870dc..660bc48 100644 --- a/Assets/Scripts/Item/Pistol/PistolComponent.cs +++ b/Assets/Scripts/Item/Pistol/PistolComponent.cs @@ -137,7 +137,7 @@ namespace Item var projectile = Instantiate(projectilePrefab, bulletSpawnPoint); - InstanceFinder.ServerManager.Spawn(projectile,Owner); + InstanceFinder.ServerManager.Spawn(projectile); projectile.transform.localPosition = Vector3.zero;