Code updates
This commit is contained in:
parent
a430310324
commit
393de5e06a
14 changed files with 216 additions and 31 deletions
7
Patches/AITrafficLight_EnableGreenLight_Patch.cs
Normal file
7
Patches/AITrafficLight_EnableGreenLight_Patch.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
using HarmonyLib;
|
||||
using TurnTheGameOn.SimpleTrafficSystem;
|
||||
|
||||
namespace SpacemarketSimulator.Patches
|
||||
{
|
||||
[HarmonyPatch(typeof(AITrafficLight), "EnableGreenLight")] public static class AITrafficLight_EnableGreenLight_Patch { public static void Postfix(AITrafficLight __instance) => __instance.DisableAllLights(); }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue