mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 15:35:22 +00:00
ShipDamageController_OnImpact NRE
This commit is contained in:
parent
767d2d0318
commit
a272050b8b
@ -206,7 +206,7 @@ namespace QSB.ShipSync.Patches
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(ShipDamageController), nameof(ShipDamageController.OnImpact))]
|
||||
public static bool ShipDamageController_OnImpact()
|
||||
=> ShipManager.Instance.HasAuthority;
|
||||
=> ShipManager.Instance && ShipManager.Instance.HasAuthority;
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(ShipComponent), nameof(ShipComponent.RepairTick))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user