From ed815775ebe78b0fa6840e5c036bf7d5f98f8bb2 Mon Sep 17 00:00:00 2001 From: sebastianhampel1 Date: Fri, 14 Jul 2023 19:43:38 -0400 Subject: [PATCH] Update PistolComponent.cs --- Assets/Scripts/Item/Pistol/PistolComponent.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/Item/Pistol/PistolComponent.cs b/Assets/Scripts/Item/Pistol/PistolComponent.cs index f9ef0ff..551c28f 100644 --- a/Assets/Scripts/Item/Pistol/PistolComponent.cs +++ b/Assets/Scripts/Item/Pistol/PistolComponent.cs @@ -142,8 +142,10 @@ namespace Item var projectile = Instantiate(projectilePrefab); projectile.transform.position = bulletSpawnPoint.transform.position; projectile.transform.rotation = bulletSpawnPoint.transform.rotation; + //Comment this line if you want to remove the mega scale. projectile.transform.localScale =bulletSpawnPoint.transform.localScale; InstanceFinder.ServerManager.Spawn(projectile); //var projectile = Instantiate(projectilePrefab, bulletSpawnPoint); + //InstanceFinder.ServerManager.Spawn(projectile);