From 9d9b9743c596d92703e4327f420be7fd78655fc6 Mon Sep 17 00:00:00 2001 From: in0finite Date: Sat, 26 Dec 2020 23:57:51 +0100 Subject: [PATCH] spawn projectile on network --- Assets/Scripts/Behaviours/Projectile.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Scripts/Behaviours/Projectile.cs b/Assets/Scripts/Behaviours/Projectile.cs index 4fc80dfc..bd66d807 100644 --- a/Assets/Scripts/Behaviours/Projectile.cs +++ b/Assets/Scripts/Behaviours/Projectile.cs @@ -49,6 +49,8 @@ namespace SanAndreasUnity.Behaviours } } + NetManager.Spawn(go); + return projectile; }