Frstrm / TokenLightCondition

Determine the lighting conditions of a token based on placed lights and token lights
MIT License
1 stars 4 forks source link

Dark/Dim conditions don't fall off properly #10

Closed Eligarf closed 1 year ago

Eligarf commented 1 year ago

CPT2301041037-617x270

Dim is still set when token is in dark, then dark doesn't fall off when token returns to dim. Both fall off when it steps back in bright. I checked the actor to make sure it wasn't a lagging badge on the token, and the effects were present when they shouldn't have been. The visibility check did the right thing though. I see the '-dim' text for entering dark, but the effect isn't actually gone....

Frstrm commented 1 year ago

Have been unable to repro locally. Have added some armor around the clearEffects function. Will continue to poke at it.