Jay Arndt
2015-03-07 c8cbd261ee75b093d5ccb0d00e90e28dabe0914e
refs
author Jay Arndt <jayarn27182@windstream.net>
Saturday, March 7, 2015 12:41 +0100
committer ShadowNinja <shadowninja@minetest.net>
Sunday, March 8, 2015 03:44 +0100
commitc8cbd261ee75b093d5ccb0d00e90e28dabe0914e
tree 61a2286ed5d2d3525a69678fd8da5a2bfead7f04 tree | zip | gz
parent c6464d3ebe38de5a73d5f41a36bf128db7104d61 view | diff
Drop upgrade items in the after_dig_node handler instead of can_dig

This fixes an item duplication bug triggered by using a screwdriver on an upgraded machine
5 files modified
35 ■■■■ changed files
technic/machines/MV/tool_workshop.lua 2 ●●● diff | view | raw | blame | history
technic/machines/register/battery_box.lua 2 ●●● diff | view | raw | blame | history
technic/machines/register/common.lua 27 ●●●● diff | view | raw | blame | history
technic/machines/register/generator.lua 2 ●●● diff | view | raw | blame | history
technic/machines/register/machine_base.lua 2 ●●● diff | view | raw | blame | history