Skip to content

Setting using hard defaults on first load #15

@TheWhiteWolves

Description

@TheWhiteWolves

https://app.roll20.net/forum/permalink/3491471/

I can't seem to get the inverted private mode to work. Using the Github 1.2 version.

invertedMarker = true and the list behaves as default. [GM] maps are in private while unlabelled maps are in public.

EDIT: The plot thickens. I have no idea why, but the inversion now works in the API.
"{"debug":true,"gmNotify":true,"marker":"[GM]","invertedMarker":true}"

However, when I copy pasted the script from that API to another game, the inversion doesn't work:
"{"debug":true,"gmNotify":true,"marker":"[GM]","invertedMarker":false}"

Didn't change a thing between the copy/paste, nor are either game running any other APIs.
I have no idea what happened.

See the above post, it looks like on first loading the script into a new campaign it is not loading the users changes to the config into the state, it is loading the hard coded defaults and then pulls the users change on the second load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions