More updoots.

This commit is contained in:
VforValens 2022-03-17 12:55:46 -05:00
parent de66101178
commit de5241fb8b

View File

@ -20,12 +20,12 @@ namespace ValensHasThePower
public static void Start() public static void Start()
{ {
PowerOn.Interchange(); PowerOn.Interchange();
PowerOn.Customs();
} }
public static void Interchange() public static void Interchange()
{ {
var power = GameObject.FindObjectsOfType<Switch>().ToList(); var power = GameObject.FindObjectsOfType<Switch>().ToList();
foreach (var Switch in power) // Turn the Power Station switch to On. foreach (var Switch in power) // Turn the Power Station switch to On.
{ {
//Interchange - Power to Mall //Interchange - Power to Mall
@ -51,7 +51,7 @@ namespace ValensHasThePower
public static void Customs() public static void Customs()
{ {
var power = GameObject.FindObjectsOfType<Switch>().ToList(); var power = GameObject.FindObjectsOfType<Switch>().ToList();
var exfil = GameObject.FindObjectsOfType<ExfiltrationPoint>().ToList();
foreach (var Switch in power) foreach (var Switch in power)
{ {
if (Switch.Id == "custom_DesignStuff_00034" && Switch.name == "reserve_electric_switcher_lever") if (Switch.Id == "custom_DesignStuff_00034" && Switch.name == "reserve_electric_switcher_lever")