change stuffz

This commit is contained in:
Mister_Nebula 2021-04-12 12:02:08 +01:00
parent d3085e7c37
commit fd11ef59ef
4 changed files with 5 additions and 4 deletions

View File

@ -63,6 +63,6 @@
public static string QSBExitPlatform = "QSBExitPlatform";
public static string QSBCampfireState = "QSBCampfireState";
public static string QSBMarshmallowEvent = "QSBMarshmallowEvent";
public static string QSBHatchState = "QSBOpenHatch";
public static string QSBHatchState = "QSBHatchState";
}
}

View File

@ -79,7 +79,7 @@ namespace QSB.Events
new IdentifySignalEvent(),
// Ship
new FlyShipEvent(),
new OpenHatchEvent()
new HatchEvent()
};
if (UnitTestDetector.IsInUnitTest)

View File

@ -225,7 +225,7 @@
<Compile Include="RoastingSync\Patches\RoastingPatches.cs" />
<Compile Include="SectorSync\FakeSector.cs" />
<Compile Include="ShipSync\Events\FlyShipEvent.cs" />
<Compile Include="ShipSync\Events\OpenHatchEvent.cs" />
<Compile Include="ShipSync\Events\HatchEvent.cs" />
<Compile Include="ShipSync\Patches\ShipPatches.cs" />
<Compile Include="ShipSync\ShipManager.cs" />
<Compile Include="StatueSync\Events\StartStatueEvent.cs" />

View File

@ -1,5 +1,6 @@
using QSB.Events;
using QSB.Patches;
using UnityEngine;
namespace QSB.ShipSync.Patches
{
@ -25,7 +26,7 @@ namespace QSB.ShipSync.Patches
return true;
}
public static bool HatchController_OnEntry(GameObjectActivationTrigger hitObj)
public static bool HatchController_OnEntry(GameObject hitObj)
{
if (hitObj.CompareTag("PlayerDetector"))
{