mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Make stack amount var private
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
for(var/obj/item/stack/wetleather/WL in I.instances)
|
||||
if(!WL.wetness)
|
||||
if(WL.amount)
|
||||
if(WL.get_amount())
|
||||
WL.forceMove(get_turf(src))
|
||||
WL.dry()
|
||||
I.instances -= WL
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
while(count > 0)
|
||||
var/obj/item/stack/S = I.get_product(get_turf(src), min(count, amount))
|
||||
count -= S.amount
|
||||
count -= S.get_amount()
|
||||
SStgui.update_uis(src)
|
||||
|
||||
/obj/machinery/smartfridge/sheets/find_record(var/obj/item/O)
|
||||
|
||||
Reference in New Issue
Block a user