[Bug] Errors on Icon Mouseover
aurae-wow opened this issue ยท 2 comments
Both errors generated from multiple lines.
Happens when mousing over any WQ icon on the Zone and World maps.
Message: ...dOns\WorldQuestTracker\WorldQuestTracker_ZoneMap.lua:196: attempt to call method 'SetScaleFrom' (a nil value)
Time: Sun Oct 16 22:30:04 2022
Count: 7
Stack: ...dOns\WorldQuestTracker\WorldQuestTracker_ZoneMap.lua:196: attempt to call method 'SetScaleFrom' (a nil value)
[string "=[C]"]: in function `SetScaleFrom'
[string "@Interface\AddOns\WorldQuestTracker\WorldQuestTracker_ZoneMap.lua"]:196: in function <...dOns\WorldQuestTracker\WorldQuestTracker_ZoneMap.lua:178>
[string "=[C]"]: ?
Message: ...Ons\WorldQuestTracker\WorldQuestTracker_WorldMap.lua:167: attempt to call method 'SetScaleFrom' (a nil value)
Time: Sun Oct 16 22:38:12 2022
Count: 39
Stack: ...Ons\WorldQuestTracker\WorldQuestTracker_WorldMap.lua:167: attempt to call method 'SetScaleFrom' (a nil value)
[string "=[C]"]: in function `SetScaleFrom'
[string "@Interface\AddOns\WorldQuestTracker\WorldQuestTracker_WorldMap.lua"]:167: in function <...Ons\WorldQuestTracker\WorldQuestTracker_WorldMap.lua:156>
[string "@Interface\AddOns\WorldQuestTracker\WorldQuestTracker_WorldMap.lua"]:206: in function <...Ons\WorldQuestTracker\WorldQuestTracker_WorldMap.lua:191>
For UI object,
SetScaleFrom should be SetFromScale
SetScaleTo should be SetToScale
That's what they're set to in the October 9th v9.2.7.444 file, yes. These are Dragonflight changes for the addon, I'm not sure if it was meant to be pushed to the retail version or if something got mixed up in the push. Either way, downgrading to the previous version, or changing those functions will work.