Forgot to change this back in previous commit.
* Skills that hit 0 will be factored into setSkillBase function.
This commit is contained in:
parent
1d20cc9e4b
commit
4ed52059f7
|
@ -68,7 +68,7 @@ function resetSkillColor(id)
|
||||||
end
|
end
|
||||||
|
|
||||||
function setSkillBase(id, value, baseValue)
|
function setSkillBase(id, value, baseValue)
|
||||||
if baseValue < 1 or value < 1 then
|
if baseValue < 0 or value < 0 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local skill = skillsWindow:recursiveGetChildById(id)
|
local skill = skillsWindow:recursiveGetChildById(id)
|
||||||
|
|
Loading…
Reference in New Issue