mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 20:13:45 +01:00
Merge pull request #2036 from Fox-McCloud/autolathe-fix
Fixes Autolathes and Stacks
This commit is contained in:
@@ -80,7 +80,8 @@
|
||||
if(!I)
|
||||
return 0
|
||||
if(istype(I,/obj/item/stack))
|
||||
return insert_stack(I)
|
||||
var/obj/item/stack/S = I
|
||||
return insert_stack(I, S.amount)
|
||||
|
||||
var/material_amount = get_item_material_amount(I)
|
||||
if(!material_amount || !has_space(material_amount))
|
||||
|
||||
Reference in New Issue
Block a user