From 80612f2d6f7c9ef43c6d90c66770e0cad717e232 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Mon, 11 Apr 2022 10:59:21 -0300 Subject: [PATCH] Bug Fix --- Libs/LibOpenRaid/LibOpenRaid.lua | 1 + frames/window_main.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Libs/LibOpenRaid/LibOpenRaid.lua b/Libs/LibOpenRaid/LibOpenRaid.lua index 7bd2193b..245011c3 100644 --- a/Libs/LibOpenRaid/LibOpenRaid.lua +++ b/Libs/LibOpenRaid/LibOpenRaid.lua @@ -15,6 +15,7 @@ to be implemented: - make "player" unit information always be available even not in a group - soulbind character (covenant choise) - probably not used in 10.0 - keystone info +- track interrupts --]=] diff --git a/frames/window_main.lua b/frames/window_main.lua index bc7031a8..b1d7aa6e 100644 --- a/frames/window_main.lua +++ b/frames/window_main.lua @@ -2255,8 +2255,8 @@ local icon_frame_on_enter = function (self) if (rioProfile and rioProfile.mythicKeystoneProfile) then rioProfile = rioProfile.mythicKeystoneProfile - local previousScore = rioProfile.previousScore - local currentScore = rioProfile.currentScore + local previousScore = rioProfile.previousScore or 0 + local currentScore = rioProfile.currentScore or 0 if (previousScore > currentScore) then GameCooltip:AddLine("M+ Score:", previousScore .. " (|cFFFFDD11" .. currentScore .. "|r)", 1, "white")