SMSMod-SpacemarketSimulator/Patches/AITrafficLight_EnableYellowLight_Patch.cs
2025-06-08 21:40:03 +02:00

7 lines
321 B
C#

using HarmonyLib;
using TurnTheGameOn.SimpleTrafficSystem;
namespace SpacemarketSimulator.Patches
{
[HarmonyPatch(typeof(AITrafficLight), "EnableYellowLight")] public static class AITrafficLight_EnableYellowLight_Patch { public static void Postfix(AITrafficLight __instance) => __instance.DisableAllLights(); }
}