mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
fix repairtick patch
This commit is contained in:
parent
0b8dd85477
commit
3381885479
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user