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

Trying to put a tinker in an object that refuses it will not add a few stats...

Trying to put a tinker in an object that refuses it will not add a few stats anyway (fixing Galvanic Retributor for example)
parent 9e8b0e52
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -7832,7 +7832,7 @@ function _M:doWearTinker(wear_inven, wear_item, wear_o, base_inven, base_item, b
wear_o.tinkered = {}
local forbid = wear_o:check("on_tinker", base_o, self)
if wear_o.object_tinker then
if not forbid and wear_o.object_tinker then
for k, e in pairs(wear_o.object_tinker) do
wear_o.tinkered[k] = base_o:addTemporaryValue(k, e)
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