Closed dekrus closed 2 years ago
I'm not sure why is that an issue. map_update_p_proc
is called regularly anyway. I think if that causes a problem, that should be fixed in Sonora. But it does make sense to only call this when the tweak is enabled, true.
Even if "min_light_level" is disabled in fo2tweaks.ini, the map is still updated on any visit. In F: Sonora, this causes NPCs with broken limbs that need to be healed by player's doctor skill to heal themselves.
https://github.com/BGforgeNet/FO2tweaks/blob/1ea03bd878525c64f0731d2581a4803ce0994865/source/gl_g_light_level.ssl#L21-L23
Please make the map update in "map_enter_p_proc" only work if "min_light_level" > 0.