Skip to content
Snippets Groups Projects
Commit 4fc1b426 authored by dg's avatar dg
Browse files

oups

git-svn-id: http://svn.net-core.org/repos/t-engine4@5704 51575b47-30f0-44d4-a5cc-537603b46e54
parent f5754e67
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,6 @@ function _M:recomputeRegenResources()
r = _M.resources_def[i]
if r.regen_prop and (not r.talent or self:knowTalent(r.talent)) then
fstr = fstr..("self.%s = util.bound(self.%s + self.%s, self.%s, self.%s) "):format(r.short_name, r.short_name, r.regen_prop, r.minname, r.maxname)
self[r.short_name] = util.bound(self[r.short_name] + self[r.regen_prop], self[r.minname], self[r.maxname])
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment