Skip to content
Snippets Groups Projects
Commit 471fa744 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@6344 51575b47-30f0-44d4-a5cc-537603b46e54
parent 5855cee2
No related branches found
No related tags found
No related merge requests found
......@@ -772,7 +772,7 @@ end
function _M:isTalentConfirmable(tid)
if type(tid) == "table" then tid = tid.id end
if not self.talents_confirm_use then self.talents_confirm_use = {} end -- For compatibility with older versions, can be removed
return self.talents_confirm_use[tid]
return self.player and self.talents_confirm_use[tid]
end
--- Show usage dialog
......
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