p4535992 / conditional-visibility

a FoundryVTT module to hide tokens from some players, but not from others
MIT License
5 stars 8 forks source link

[BUG] Stuck flags #30

Closed ctbritt closed 2 years ago

ctbritt commented 2 years ago

Seems to be that your flags are getting stuck and not coming off when you remove the active effect. Using the latest version, 0.5.37, and when I have my rogue make a stealth roll, he rolls a 26. this is the debug info:

DEBUG | conditional-visibility | (3.7) '"Captain" Kaine Strongjaw' with targetVisionLevels = [
    {
        "visionName": "Hidden (CV)",
        "visionIcon": "modules/conditional-visibility/icons/hidden.jpg",
        "visionId": "hidden",
        "visionLevelValue": 26,
        "visionType": "condition",
        "visionIsDisabled": false,
        "visionPath": "",
        "visionElevation": false,
        "visionTargets": [],
        "visionSources": []
    }
]

But that data never goes away. I take off the Hidden (CV) and this is the data that I see. So he constantly stays hidden. There's no way to remove it unless i manually edit the flags on. the token.

this seems to be the main issue right now. Stuck flags.