diff --git a/MoreWeapons/Handlers/GrenadeLauncherHandler.cs b/MoreWeapons/Handlers/GrenadeLauncherHandler.cs index 0a2d170..1842e5e 100644 --- a/MoreWeapons/Handlers/GrenadeLauncherHandler.cs +++ b/MoreWeapons/Handlers/GrenadeLauncherHandler.cs @@ -58,7 +58,7 @@ private void Shoot(Synapse.Api.Events.SynapseEventArguments.PlayerShootEventArgs var component = ev.Player.GetComponent(); var component2 = Object.Instantiate(component.availableGrenades[0].grenadeInstance).GetComponent(); var velocity = (ev.TargetPosition - ev.Player.Position) * PluginClass.GLConfig.ForceMultiplier; - component2.FullInitData(component, ev.Player.CameraReference.TransformPoint(component2.throwStartPositionOffset), Quaternion.Euler(component2.throwStartAngle), velocity, component2.throwAngularVelocity); + component2.FullInitData(component, ev.Player.CameraReference.TransformPoint(component2.throwStartPositionOffset), Quaternion.Euler(component2.throwStartAngle), velocity, component2.throwAngularVelocity,ev.Player.Team); component2.NetworkfuseTime = NetworkTime.time + (double)PluginClass.GLConfig.GrenadeFuseTime; NetworkServer.Spawn(component2.gameObject); } diff --git a/MoreWeapons/MoreWeapons.csproj b/MoreWeapons/MoreWeapons.csproj index 57c722f..ba66cd1 100644 --- a/MoreWeapons/MoreWeapons.csproj +++ b/MoreWeapons/MoreWeapons.csproj @@ -37,19 +37,19 @@ ..\packages\Lib.Harmony.2.0.4\lib\net472\0Harmony.dll - ..\packages\SynapseSL.2.0.0\lib\net472\Assembly-CSharp.dll + ..\packages\SynapseSL.2.1.0\lib\net472\Assembly-CSharp.dll - ..\packages\SynapseSL.2.0.0\lib\net472\Assembly-CSharp-firstpass.dll + ..\packages\SynapseSL.2.1.0\lib\net472\Assembly-CSharp-firstpass.dll ..\packages\LiteDB.5.0.9\lib\net45\LiteDB.dll - ..\packages\SynapseSL.2.0.0\lib\net472\Mirror.dll + ..\packages\SynapseSL.2.1.0\lib\net472\Mirror.dll - - ..\packages\SynapseSL.2.0.0\lib\net472\Synapse.dll + + ..\packages\SynapseSL.2.1.0\lib\net472\Synapse.dll @@ -61,13 +61,13 @@ - ..\packages\SynapseSL.2.0.0\lib\net472\UnityEngine.dll + ..\packages\SynapseSL.2.1.0\lib\net472\UnityEngine.dll - ..\packages\SynapseSL.2.0.0\lib\net472\UnityEngine.CoreModule.dll + ..\packages\SynapseSL.2.1.0\lib\net472\UnityEngine.CoreModule.dll - ..\packages\SynapseSL.2.0.0\lib\net472\UnityEngine.PhysicsModule.dll + ..\packages\SynapseSL.2.1.0\lib\net472\UnityEngine.PhysicsModule.dll ..\packages\YamlDotNet.8.1.2\lib\net45\YamlDotNet.dll diff --git a/MoreWeapons/packages.config b/MoreWeapons/packages.config index b0b1e4d..0a38d28 100644 --- a/MoreWeapons/packages.config +++ b/MoreWeapons/packages.config @@ -2,6 +2,6 @@ - + \ No newline at end of file