This commit is contained in:
JohnCorby 2022-04-08 21:46:30 -07:00
parent a52332f1d0
commit 960d6709c8

View File

@ -45,6 +45,9 @@ public class DeathPatches : QSBPatch
// don't take damage from impact in ship
!PlayerState.IsInsideShip();
/// <summary>
/// don't insta-die from impact in ship
/// </summary>
[HarmonyPrefix]
[HarmonyPatch(typeof(HighSpeedImpactSensor), nameof(HighSpeedImpactSensor.FixedUpdate))]
public static bool HighSpeedImpactSensor_FixedUpdate(HighSpeedImpactSensor __instance)