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

Wearing an item directly from the transmo chest will correctly remove it from the chest

git-svn-id: http://svn.net-core.org/repos/t-engine4@4737 51575b47-30f0-44d4-a5cc-537603b46e54
parent b154f456
No related branches found
No related tags found
No related merge requests found
......@@ -2023,6 +2023,8 @@ end
function _M:onWear(o, bypass_set)
o.wielded = {}
o:forAllStack(function(so) so.__transmo = false end)
if o.set_list and not bypass_set then
local list = {}
for i, d in ipairs(o.set_list) do
......
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