private void Awake() { Ruins.LoadAll(); Structural.InitMaterialLookup(); On.ZNetScene.Awake += ZNetSceneAwake; On.LocationProxy.SpawnLocation += OnSpawnLocation; }
private void ZNetSceneAwake(On.ZNetScene.orig_Awake orig, ZNetScene self) { orig(self); Ruins.RegisterRuins(); }