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
hasLightSource can return Unknown light type "*" in function "hasLightSource". when the result should be 0
To Reproduce
Set a light source to a known value, like D20 Candle-5 [r: hasLightSource("D20","Candle - 5")] returns 1 [r: hasLightSource("D20","none")] returns 0 [r: hasLightSource("none","Candle - 5")] returns Unknown light type "none" in function "hasLightSource". [r: hasLightSource("*","Candle - 5")] returns 1 [r: hasLightSource("*","none")] returns Unknown light type "none" in function "hasLightSource".
Expected Behaviour
This should return 0 or 1 based off the values provided regardless of what exists in Lights.
If not possible, this error Unknown light type "none" in function "hasLightSource", _could fit_ if you do NOT use a *` (eg. set a "type" that does NOT exist).
Screenshots
No response
MapTool Info
1.15.0
Desktop
Win11
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
hasLightSource
can returnUnknown light type "*" in function "hasLightSource".
when the result should be 0To Reproduce
Set a light source to a known value, like D20 Candle-5
[r: hasLightSource("D20","Candle - 5")]
returns1
[r: hasLightSource("D20","none")]
returns0
[r: hasLightSource("none","Candle - 5")]
returnsUnknown light type "none" in function "hasLightSource".
[r: hasLightSource("*","Candle - 5")]
returns1
[r: hasLightSource("*","none")]
returnsUnknown light type "none" in function "hasLightSource".
Expected Behaviour
This should return
0
or1
based off the values provided regardless of what exists in Lights.If not possible, this error
Unknown light type "none" in function "hasLightSource", _could fit_ if you do NOT use a
*` (eg. set a "type" that does NOT exist).Screenshots
No response
MapTool Info
1.15.0
Desktop
Win11
Additional Context
No response
The text was updated successfully, but these errors were encountered: