logs, particles, and cooldowns now automatically load

This commit is contained in:
GinYuH committed 2024-02-03 19:56:11 -08:00
1 parent 0f7622a970
commit 4a144285bf
6 files changed
+51 -50

No files matched your search

+10
View File
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using CalamityMod.Buffs.Summon;
using CalamityMod.Cooldowns;
using CalamityMod.Events;
using CalamityMod.Items;
using CalamityMod.Items.Armor.Vanity;
@@ -55,9 +56,11 @@ using CalamityMod.NPCs.SunkenSea;
using CalamityMod.NPCs.SupremeCalamitas;
using CalamityMod.NPCs.TownNPCs;
using CalamityMod.NPCs.Yharon;
using CalamityMod.Particles;
using CalamityMod.Projectiles.DraedonsArsenal;
using CalamityMod.Projectiles.Summon;
using CalamityMod.Projectiles.Summon.Umbrella;
using CalamityMod.UI;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
@@ -188,6 +191,13 @@ namespace CalamityMod
FargosSupport();
DialogueTweakSupport();
SummonersAssociationSupport();
// done here to assure that all other mods have already loaded so that Calamity can automatically grab any of these types they may have
if (!Main.dedServ)
{
GeneralParticleHandler.LoadModParticleInstances();
CooldownRegistry.RegisterModCooldowns();
PopupGUIManager.LoadGUIs();
}
}
#region WikiThis