terraria-mods/LifeSourcesLight/LifeSourcesLight.cs
Chev 41a97f1ad5
LifeSourcesLight: Rework mod code
- Update Main.tileLighted (attempt to fix bug where lights wouldn't work in multiplayer until the config was reloaded)
- Organize and tidy code a bit
2025-05-22 02:06:18 -07:00

15 lines
No EOL
362 B
C#

using Terraria.ModLoader;
namespace LifeSourcesLight
{
public class LifeSourcesLight : Mod
{
public override void PostSetupContent()
{
base.PostSetupContent();
// Update Main.tileLighted on post-load to ensure config is properly loaded
LifeSourcesLightModSystem.UpdateTileLighted();
}
}
}