RaiderIO / raiderio-addon

RaiderIO AddOn
https://raider.io/addon
Other
38 stars 21 forks source link

Prevent nil error which occures sometimes at end of M+ run #261

Open doadin opened 7 months ago

doadin commented 7 months ago

796x RaiderIO/core.lua:7943: attempt to perform arithmetic on field 'killed' (a nil value) [string "@RaiderIO/core.lua"]:7943: in function Update' [string "@RaiderIO/core.lua"]:7927: in functionSetup' [string "@RaiderIO/core.lua"]:9922: in function SetUIBosses' [string "@RaiderIO/core.lua"]:9616: in functionOnBossKill' [string "@RaiderIO/core.lua"]:8486: in function GetSummary' [string "@RaiderIO/core.lua"]:9671: in functionUpdateShown' [string "@RaiderIO/core.lua"]:10199: in function callbackFunc' [string "@RaiderIO/core.lua"]:1126: in functionSendEvent' [string "@RaiderIO/core.lua"]:1061: in function <RaiderIO/core.lua:1057>

Locals: Skipped (In Encounter)

prevent the nil error by verifying the value exists.