From 3381885479c283fab2f53c1906a36726ba50d100 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sun, 20 Jun 2021 10:21:46 +0100 Subject: [PATCH] fix repairtick patch --- QSB/ShipSync/Patches/ShipPatches.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QSB/ShipSync/Patches/ShipPatches.cs b/QSB/ShipSync/Patches/ShipPatches.cs index 2b023100..8eef21c2 100644 --- a/QSB/ShipSync/Patches/ShipPatches.cs +++ b/QSB/ShipSync/Patches/ShipPatches.cs @@ -189,10 +189,10 @@ namespace QSB.ShipSync.Patches public static bool ShipDamageController_OnImpact() => ShipManager.Instance.HasAuthority; - public static bool ShipComponent_RepairTick(ShipComponent __instance, float ____repairFraction) + public static void ShipComponent_RepairTick(ShipComponent __instance, float ____repairFraction) { QSBEventManager.FireEvent(EventNames.QSBComponentRepairTick, __instance, ____repairFraction); - return true; + return; } } }