Colored Light Monitor is always enabled in dev environment
AlexNijjar opened this issue · 4 comments
I'm adding Shimmer compat to my mod, Ad Astra. I've added it to my dev environment; however, every time I launch the game, the colored light monitor overlay appears. I'm able to temporarily get rid of it by running the /shimmer coloredLightMonitor
command. But this overlay will reappear every time I restart the game.
Looking at the code, it appears that this overlay is always enabled by default in the dev environment:
This is fine for Shimmer development, but is problematic for any modder that adds Shimmer to their dev environment. It should either always be disabled by default, or be saved to a config somewhere so that I can close it once and not have to see it again.
Sorry, what does this mean? Are you saying that I should manually disable the monitor by setting
LightCounter.Render.enable
to false somewhere in my project?
yeah
in your dev
public init() {
if (isDev() && isShimmerLoaded()) {
LightCounter.Render.enable = false;
}
}