Update PistolComponent.cs
This commit is contained in:
parent
8120547280
commit
fb736a036f
@ -137,7 +137,7 @@ namespace Item
|
|||||||
|
|
||||||
var projectile = Instantiate(projectilePrefab, bulletSpawnPoint);
|
var projectile = Instantiate(projectilePrefab, bulletSpawnPoint);
|
||||||
|
|
||||||
InstanceFinder.ServerManager.Spawn(projectile,Owner);
|
InstanceFinder.ServerManager.Spawn(projectile);
|
||||||
|
|
||||||
|
|
||||||
projectile.transform.localPosition = Vector3.zero;
|
projectile.transform.localPosition = Vector3.zero;
|
||||||
|
Reference in New Issue
Block a user