Skip to content

Commit 56a889b

Browse files
committed
[Statuses\AltPower] Fix Secret
1 parent 4795162 commit 56a889b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Statuses/AltPower.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function PlexusAltPower:UpdateUnitResource(unitid)
108108
local priority = PlexusAltPower.db.profile.unit_altpower.priority
109109
local color = PlexusAltPower.db.profile.unit_altpower.color
110110

111-
if max <= 0 then
111+
if not Plexus:issecretvalue(max) and max <= 0 then
112112
self.core:SendStatusLost(unitGUID, "unit_altpower")
113113
return
114114
end

0 commit comments

Comments
 (0)