fix return value in /obj/item/stack/use when consuming whole stack (#50950)

Fix adding sheets to machine frames when holding the perfect amount of sheets
This commit is contained in:
William Wallace
2020-05-08 02:27:58 -07:00
committed by GitHub
parent e4462f8d36
commit 83b8419d18
+1 -1
View File
@@ -321,7 +321,7 @@
return FALSE
amount -= used
if(check && zero_amount())
return FALSE
return TRUE
if(length(mats_per_unit))
var/temp_materials = custom_materials.Copy()
for(var/i in mats_per_unit)