Пример #1
0
        private void Awake()
        {
            Ruins.LoadAll();
            Structural.InitMaterialLookup();

            On.ZNetScene.Awake             += ZNetSceneAwake;
            On.LocationProxy.SpawnLocation += OnSpawnLocation;
        }
Пример #2
0
 private void ZNetSceneAwake(On.ZNetScene.orig_Awake orig, ZNetScene self)
 {
     orig(self);
     Ruins.RegisterRuins();
 }