mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed an error that could crop up when tweaking colors
This commit is contained in:
@ -405,7 +405,7 @@ function IceCustomCount.prototype:Enable(core)
|
||||
self:RegisterEvent("PLAYER_TARGET_CHANGED", "UpdateCustomCount")
|
||||
self:RegisterEvent("PLAYER_DEAD", "UpdateCustomCount")
|
||||
|
||||
self.unit = self.moduleSettings.auraTarget
|
||||
self.unit = self.moduleSettings.auraTarget or "player"
|
||||
|
||||
if not tonumber(self.moduleSettings.maxCount) or tonumber(self.moduleSettings.maxCount) <= 0 then
|
||||
self.moduleSettings.maxCount = 5
|
||||
|
Reference in New Issue
Block a user