delVhariant / illumination

Small Module for Foundry VTT that ties Global Illumination to the scene Darkness level.
MIT License
3 stars 5 forks source link

Darkness Color doesn't reset when module is disabled #8

Closed delVhariant closed 4 years ago

delVhariant commented 4 years ago

If the module is disabled/uninstalled, the core darknessColor flag doesn't reset, potentially breaking darkness settings althogether.

Need to make sure the flag is reset to default in the event the module is removed/disabled. Hopefully there is a hook for that.

delVhariant commented 4 years ago

Possibly I can update the CONFIG.Canvas.darknessColor instead of using the core flag? If I never touch the core flag it should remain unset and get overridden on load I think