This commit is contained in:
2023-07-14 19:39:52 -04:00
parent 5f81e96eed
commit 970a2a5697
4 changed files with 8 additions and 2 deletions

View File

@ -105,6 +105,7 @@ public class PlayerInteractionHandler : NetworkBehaviour
{
if (tempInvent.GetQuantityOf(pistol.projectileName) > 0)
{
print("Calling RPC:Fire(). Isclient:" + IsClient);
pistol.Fire();
noiseManager.ShotFired();
tempInvent.Remove(pistol.projectileName);