from retail
This commit is contained in:
@@ -428,8 +428,11 @@ local function UpdateProgressFromState(self, minMaxConfig, state, progressSource
|
||||
else
|
||||
adjustMin = 0
|
||||
end
|
||||
|
||||
local max
|
||||
if minMaxConfig.adjustedMax then
|
||||
if duration == 0 then
|
||||
max = 0
|
||||
elseif minMaxConfig.adjustedMax then
|
||||
max = minMaxConfig.adjustedMax
|
||||
elseif minMaxConfig.adjustedMaxRelPercent then
|
||||
max = minMaxConfig.adjustedMaxRelPercent * duration
|
||||
|
||||
Reference in New Issue
Block a user