Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 4417705

Browse files
committed
fixes #398
1 parent b30f827 commit 4417705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/STATUSBTN.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function STATUSBTN:xpstrings_Update() --handles updating all the strings for the
147147
bubbles = tostring(math.floor(currXP/(nextXP/20))).." / 20 "..L["Bubbles"]
148148
percentXP = string.format("%.2f", (percentXP)).."%"
149149

150-
if restedXP > 0 then
150+
if restedXP and restedXP > 0 then
151151
restedXP = string.format("%.2f", (tostring(restedXP/nextXP))).." "..L["Levels"]
152152
isRested = true
153153
else

0 commit comments

Comments
 (0)