mirror of
https://github.com/chev2/terraria-mods.git
synced 2025-12-27 10:26:42 +00:00
- 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
15 lines
No EOL
362 B
C#
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();
|
|
}
|
|
}
|
|
} |