Commit 78f27c4b authored by SmallJoker's avatar SmallJoker

Cheaper repair

parent 422d29d7
......@@ -125,10 +125,10 @@ minetest.register_abm({
return
end
if(wear - 2000 < 0) then
src:add_wear(-2000 + wear)
if(wear - 4000 < 0) then
src:add_wear(-4000 + wear)
else
src:add_wear(-2000)
src:add_wear(-4000)
end
inv:set_stack("src", 1, src)
set_infotext(meta, 2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment