You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a system that doesn't have any light sources in either the common or user-supplied light sources data, i.e. one that is using the default setup, if you update the fallback light source name and data in config, the new values aren't used until you restart the server.
To Reproduce
Steps to reproduce the behavior:
Open a system that doesn't have predefined light sources, like fudge-rpg
Open the Token HUD for a token and right click on the flame icon.
Note that, initially, it has a single light source named "torch".
Close the HUD, open the settings, and change the fallback light source name from "torch" to "Fiat Lux" with much smaller radii.
Reopen the Token HUD, click on the flame icon.
Expected: It should be using the new settings. Actual: It is still using the settings that were just changed.and observe that it is still using the data from "torch".
Right click on the flame icon and hover the single light source.
Expected: It should show the new name. Actual: It is still showing the old name.
^R the server and you will see that the new values are now in force.
** Expected behavior**
Changes to the settings for the fallback light source should immediately take effect.
Environment
FoundryVTT 12 and 13
Torch 2.19.0 forward
System: fudge-rpg
** Other details that are often useful
i know why this is happening. The common sources data is only read once and we aren't updating the settings of the default system in the common sources when we make a new library object.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using a system that doesn't have any light sources in either the common or user-supplied light sources data, i.e. one that is using the default setup, if you update the fallback light source name and data in config, the new values aren't used until you restart the server.
To Reproduce
Steps to reproduce the behavior:
** Expected behavior**
Changes to the settings for the fallback light source should immediately take effect.
Environment
** Other details that are often useful
The text was updated successfully, but these errors were encountered: