Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
fixed Map.Explode()
Browse files Browse the repository at this point in the history
  • Loading branch information
GrafDimenzio committed Nov 20, 2020
1 parent f15d010 commit e67945e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Synapse/Api/Map.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void Explode(Vector3 position)
{
var component = Server.Get.Host.GetComponent<Grenades.GrenadeManager>();
var component2 = Object.Instantiate(component.availableGrenades[0].grenadeInstance).GetComponent<Grenades.Grenade>();
component2.FullInitData(component, position, Quaternion.identity, Vector3.zero, Vector3.zero);
component2.FullInitData(component, position, Quaternion.identity, Vector3.zero, Vector3.zero,Team.RIP);
component2.NetworkfuseTime = 0.10000000149011612;
NetworkServer.Spawn(component2.gameObject);
}
Expand Down
16 changes: 8 additions & 8 deletions Synapse/Synapse.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,17 @@
<Reference Include="0Harmony, Version=2.0.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Lib.Harmony.2.0.4\lib\net472\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\Synapse-Stuff\Server\SCPSL_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\..\Synapse_Dependencies\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-Publicized">
<HintPath>..\..\..\Downloads\Assembly-CSharp-Publicized.dll</HintPath>
<HintPath>..\..\Synapse_Dependencies\Assembly-CSharp-Publicized.dll</HintPath>
</Reference>
<Reference Include="LiteDB, Version=5.0.9.0, Culture=neutral, PublicKeyToken=4ee40123013c9f27, processorArchitecture=MSIL">
<HintPath>..\packages\LiteDB.5.0.9\lib\net45\LiteDB.dll</HintPath>
</Reference>
<Reference Include="Mirror, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\Synapse-Stuff\Server\SCPSL_Data\Managed\Mirror.dll</HintPath>
<Reference Include="Mirror">
<HintPath>..\..\Synapse_Dependencies\Mirror.dll</HintPath>
</Reference>
<Reference Include="mscorlib" />
<Reference Include="NorthwoodLib, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null">
Expand All @@ -197,10 +197,10 @@
<Reference Include="System.Data" />
<Reference Include="System.Runtime" />
<Reference Include="UnityEngine">
<HintPath>..\..\Synapse-Stuff\Server\SCPSL_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\Synapse_Dependencies\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\Synapse-Stuff\Server\SCPSL_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\Synapse_Dependencies\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\Synapse-Stuff\Server\SCPSL_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
Expand Down

0 comments on commit e67945e

Please sign in to comment.