From 960d6709c87822c68726f1e5d5bbcb0e10a4ee99 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Fri, 8 Apr 2022 21:46:30 -0700 Subject: [PATCH] comment --- QSB/DeathSync/Patches/DeathPatches.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/QSB/DeathSync/Patches/DeathPatches.cs b/QSB/DeathSync/Patches/DeathPatches.cs index 45579fce..349d5fcb 100644 --- a/QSB/DeathSync/Patches/DeathPatches.cs +++ b/QSB/DeathSync/Patches/DeathPatches.cs @@ -45,6 +45,9 @@ public class DeathPatches : QSBPatch // don't take damage from impact in ship !PlayerState.IsInsideShip(); + /// + /// don't insta-die from impact in ship + /// [HarmonyPrefix] [HarmonyPatch(typeof(HighSpeedImpactSensor), nameof(HighSpeedImpactSensor.FixedUpdate))] public static bool HighSpeedImpactSensor_FixedUpdate(HighSpeedImpactSensor __instance)