This commit is contained in:
/
2024-12-29 21:15:58 +01:00
commit 547655c326
77 changed files with 7313 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using Global.Shared.Patches;
using HarmonyLib;
using Sandbox.Game.GameSystems.Conveyors;
namespace Global.Patches
{
[HarmonyPatch(typeof(MyConveyorLine))]
public class MyConveyorLinePatch
{
[HarmonyPrefix]
[HarmonyPatch(nameof(MyConveyorLine.UpdateIsWorking))]
private static bool UpdateIsWorkingPrefix()
{
return !CubeGridPatch.IsInMergeGridInternal;
}
}
}