Forgot to change this back in previous commit.

* Skills that hit 0 will be factored into setSkillBase function.
This commit is contained in:
BeniS 2012-08-21 00:44:30 +12:00
parent 1d20cc9e4b
commit 4ed52059f7
1 changed files with 1 additions and 1 deletions

View File

@ -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)