public static void MapInterfaceUpdate_Postfix() { if (Find.CurrentMap == null || WorldRendererUtility.WorldRenderedNow) { return; } NaturalLightOverlay naturalLightMap = new NaturalLightOverlay(); naturalLightMap.Update(); }
public static void Postfix() { if (Find.CurrentMap == null || RimWorld.Planet.WorldRendererUtility.WorldRenderedNow) { return; } NaturalLightOverlay naturalLightMap = new NaturalLightOverlay(); naturalLightMap.Update(); }
public override void MapComponentUpdate() { base.MapComponentUpdate(); lightOverlay.Update(); }