Closed schultzcole closed 3 years ago
Ah, thanks for pointing that out. I assumed reusing a variable like oldFn
would be sufficient (thats my lack of javascript knowledge showing :smile:). I'll include your proposed fix in the next release.
Tested and fixed in v2.2.41
In the
setup
hook, compendium folders adds a new context option to all folder types. However in doing so, it inadvertently sets all folders to have the same context menu options as theSceneDirectory
due to the way it reuses theoldFn
variable. If another module changes theSceneDirectory
context menu, all of those changes propagate to folders for the other entity types as well.Recommended fix: