Пример #1
0
 private static void Postfix(Valve __instance, ValveBase ___valveBase)
 {
     if (FluidWarpMod_Utils.IsWarpGate(___valveBase))
     {
         WarpSpaceManager.OnWarpGateChannelChange(___valveBase);
         WarpSpaceManager.RegisterConduitUpdater();
     }
 }
Пример #2
0
 private static void Postfix(Valve __instance, ValveBase ___valveBase)
 {
     if (___valveBase.conduitType == GasWarpConfig.CONDUIT_TYPE || ___valveBase.conduitType == LiquidWarpConfig.CONDUIT_TYPE)
     {
         WarpSpaceManager.OnValveChannelChange(___valveBase);
         WarpSpaceManager.RegisterConduitUpdater();
     }
 }