Пример #1
0
 private static void LavaBlockerTrigger_Awake(On.Celeste.Mod.Entities.LavaBlockerTrigger.orig_Awake orig, Celeste.Mod.Entities.LavaBlockerTrigger self, Scene scene)
 {
     orig(self, scene);
     customRisingLavas = scene.Entities.OfType <CustomRisingLava>().ToList();
 }
Пример #2
0
 private static void LavaBlockerTrigger_OnStay(On.Celeste.Mod.Entities.LavaBlockerTrigger.orig_OnStay orig, Celeste.Mod.Entities.LavaBlockerTrigger self, Player player)
 {
     foreach (CustomRisingLava lava in customRisingLavas)
     {
         if (lava != null)
         {
             lava.waiting = true;
         }
     }
     orig(self, player);
 }