Skip to content
Snippets Groups Projects
Commit 7c71d265 authored by DarkGod's avatar DarkGod
Browse files

fixed hook UseTalents:use

parent 8e897daf
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -212,7 +212,7 @@ function _M:use(item, button)
elseif b.what == "auto-dis" then
self.actor:checkSetTalentAuto(item.talent, false)
else
self:triggerHook{"UseTalents:use", actor=self.actor, talent=t, item=item}
self:triggerHook{"UseTalents:use", what=b.what, actor=self.actor, talent=t, item=item}
end
self.c_list:drawTree()
self.actor.changed = 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