kxcrl / foundryvtt-retro

MIT License
0 stars 0 forks source link

Clear non-db flags on init #40

Closed kxcrl closed 10 months ago

kxcrl commented 10 months ago

Context

Now that we're setting flags that don't get persisted to the db, we need to make sure they don't stick around between scene loads. They shouldn't, but it would be wise to double check.

If they do, add a function to onInit to clear them.

kxcrl commented 10 months ago

Turns out flags are getting wiped out all the time, even in the middle of other events, so this is a non-issue.