Skip to content
Snippets Groups Projects
Commit 4778aa0d authored by dg's avatar dg
Browse files

tada

git-svn-id: http://svn.net-core.org/repos/t-engine4@6255 51575b47-30f0-44d4-a5cc-537603b46e54
parent 4a3acc10
No related branches found
No related tags found
No related merge requests found
......@@ -1322,7 +1322,7 @@ end
function _M:playerCheckSustains()
for tid, _ in pairs(self.talents) do
local t = self:getTalentFromId(tid)
if t.mode == "sustained" and self:isTalentActive(t.id) then
if t and t.mode == "sustained" and self:isTalentActive(t.id) then
-- handles unarmed
if t.is_unarmed and (self:hasMassiveArmor() or not self:isUnarmed()) then
self:forceUseTalent(tid, {ignore_energy=true})
......
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