Moved var/to_transfer back to /obj/item/stack turns out it's fine there

This commit is contained in:
MINIMAN10000
2018-04-13 19:50:26 -07:00
parent 5d52f60d9d
commit d4a98ea09f
+1 -1
View File
@@ -13,6 +13,7 @@
var/list/recipes = list() // /datum/stack_recipe
var/singular_name
var/amount = 1
var/to_transfer = 0
var/max_amount //also see stack recipes initialisation, param "max_res_amount" must be equal to this max_amount
var/merge_type = null // This path and its children should merge with this stack, defaults to src.type
@@ -231,7 +232,6 @@
/obj/item/stack/proc/get_max_amount()
return max_amount
var/to_transfer = 0
/obj/item/stack/proc/get_amount_transferred()
return to_transfer