public override void Unload() { if (!Main.dedServ) { customResources = null; customResources2 = null; customResources3 = null; customResources4 = null; customResources5 = null; customResources6 = null; stamina = null; collection = null; overlay = null; infusion = null; cooking = null; linkhp = null; VitricBackgroundDust.Clear(); VitricForegroundDust.Clear(); CursedAccessory.Bootlegdust.Clear(); BlessedAccessory.Bootlegdust.Clear(); BlessedAccessory.Bootlegdust2.Clear(); Collection.Bootlegdust.Clear(); Overlay.Bootlegdust.Clear(); Instance = null; Dash = null; Superdash = null; Float = null; Smash = null; Purify = null; } }
public override void PostWorldGen() { if (WorldGen.genRand.NextBool()) { Flag(WorldFlags.AluminumMeteors); } StarlightRiver.FIllChests(); }
public override void Unload() { foreach (var loadable in loadCache) { loadable.Unload(); } loadCache = null; if (!Main.dedServ) { Instance = null; AbilityKeys.Unload(); } }
public override void Unload() { if (!Main.dedServ) { RiftRecipes = null; StaminaUserInterface = null; CollectionUserInterface = null; OverlayUserInterface = null; InfusionUserInterface = null; CookingUserInterface = null; TextCardUserInterface = null; CodexUserInterface = null; CodexPopupUserInterface = null; LootUserInterface = null; ChatboxUserInterface = null; ExtraNPCInterface = null; stamina = null; collection = null; overlay = null; infusion = null; cooking = null; textcard = null; codex = null; codexpopup = null; lootUI = null; Chatbox = null; ExtraNPCState = null; Instance = null; Dash = null; Superdash = null; Wisp = null; Smash = null; Purify = null; } UnhookIL(); Main.OnPreDraw -= TestLighting; }
public StarlightRiver() { Instance = this; }