TSU - allstates accepting non table values
Ironii opened this issue ยท 0 comments
Description
when assigning non table value to allstates, everything breaks.
WeakAuras Version
3.5.0
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
with bool value assigned:
1x WeakAuras\WeakAuras-3.5.0.lua:4001: attempt to index local 'state' (a boolean value)
[string "@WeakAuras\WeakAuras-3.5.0.lua"]:4001: in function UpdatedTriggerState' [string "@WeakAuras\GenericTrigger.lua"]:745: in function
ScanEventsInternal'
[string "@WeakAuras\GenericTrigger.lua"]:701: in function `ScanEvents'
[string "@WeakAuras\GenericTrigger.lua"]:847: in function <WeakAuras\GenericTrigger.lua:832>
Reproduction Steps
create tsu with custom trigger:
function(s) s.test = true end
Last Good Version
No response
Screenshots
No response
Export String
No response