From ec8adda67f3b6158e2c865cbc2a39c2041e218b7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Jan 2021 17:25:23 -0300 Subject: Ensure the NPCs will exist when we try to enable/disable them --- npc/025-1/ctrl.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'npc') diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c index d222b03bd..f1d2fe903 100644 --- a/npc/025-1/ctrl.c +++ b/npc/025-1/ctrl.c @@ -377,12 +377,9 @@ function spawnCore { ///////////////////////////////////////////////////////// OnInit: + sleep(200); // Ensure the NPCs will exist when this run FTCleanup($FORTRESS_STATE); - setarray .@a, Tipiou, Pollet, Wolvern, FireSkull, DarkLizard, BlackScorpion, EarthFairy, FireFairy, WaterFairy, WindFairy, PoisonFairy, DustGatling, DustRifle, DustRevolver, MountainSnake, HoodedNinja, ForestMushroom, GoldenScorpion, Yeti; - setarray .@b, Yeti, WickedMushroom, Archant, Scar, Crafty, AzulSkullSlime, YellowSkullSlime, Forain, GreenDragon, Michel, EliteDuck, Troll, Moonshroom, Terranite; - setarray .@c, RedSkullSlime, Terranite, JackO, BlackMamba, GreenSkullSlime, Centaur, GoboBear, TerraniteProtector; - setarray .@d, GreenSlimeMother, BlueSlimeMother, YellowSlimeMother, RedSlimeMother, WhiteSlimeMother, AzulSlimeMother, LavaSlimeMother, BlackSlimeMother; - setarray .@e, VanityPixie, HolyPixie, ShadowPixie, NulityPixie, Reaper, BlackSkullSlime, NightmareDragon, WhirlyBird, PinkieSuseran; + end; OnTue0000: FTCleanup(false); -- cgit v1.2.3-60-g2f50