technic_cnc/cnc.lua: Fix access to non-existant stack parameter (#528)

Этот коммит содержится в:
thetaepsilon-gamedev 2020-01-28 20:38:13 +00:00 коммит произвёл SmallJoker
родитель 904800abde
Коммит fbc4cc8511
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -59,7 +59,7 @@ else
if minetest.is_protected(pos, player:get_player_name()) then
return 0
end
return stack:get_count()
return count
end
can_dig = function(pos, player)