More and more fixes.

This commit is contained in:
Ghommie
2020-06-29 18:52:37 +02:00
parent 53a9dd560b
commit 0779dd560e
18 changed files with 28 additions and 22 deletions
+2 -2
View File
@@ -312,14 +312,14 @@
/obj/item/stack/use(used, transfer = FALSE, check = TRUE) // return 0 = borked; return 1 = had enough
if(check && zero_amount())
return TRUE
return FALSE
if (is_cyborg)
return source.use_charge(used * cost)
if (amount < used)
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)