1
0
зеркало из https://github.com/mt-mods/pipeworks.git synced 2025-09-15 15:25:22 +02:00

Fix injector crash when dug or punched when its empty

Этот коммит содержится в:
est31
2015-02-04 03:08:16 +01:00
родитель 8e9affc841
Коммит 50bc351804

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

@@ -78,7 +78,7 @@ local function grabAndFire(data,slotseq_mode,filtmeta,frominv,frominvname,frompo
local count
if all then
count = math.min(stack:get_count(), doRemove)
if filterfor.count > 1 then
if filterfor.count and filterfor.count > 1 then
count = math.min(filterfor.count, count)
end
else