Skip to content

Commit db27f42

Browse files
committed
Add explicit tostring call to please analyzer
1 parent f57303c commit db27f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ImmediateFrame.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ end
100100
function I:Show()
101101
if not frame then SetupFrame() end
102102
self.Kills = 0
103-
frame.killCount:SetText(self.Kills)
103+
frame.killCount:SetText(tostring(self.Kills))
104104
frame:Show()
105105
self.Active = true
106106
end
107107

108108
function I:Hide()
109109
frame:Hide()
110110
self.Kills = 0
111-
frame.killCount:SetText(self.Kills)
111+
frame.killCount:SetText(tostring(self.Kills))
112112
self.Active = false
113113
end
114114

0 commit comments

Comments
 (0)