Fixes cardboard tube duping (#1854)
This commit is contained in:
committed by
kevinz000
parent
682abbf6aa
commit
73557a5e5f
@@ -202,7 +202,7 @@
|
||||
return 0
|
||||
return 1
|
||||
|
||||
/obj/item/stack/proc/use(var/used) // return 0 = borked; return 1 = had enough
|
||||
/obj/item/stack/proc/use(used, transfer = FALSE) // return 0 = borked; return 1 = had enough
|
||||
if(zero_amount())
|
||||
return 0
|
||||
if (is_cyborg)
|
||||
@@ -242,7 +242,7 @@
|
||||
if(pulledby)
|
||||
pulledby.start_pulling(S)
|
||||
S.copy_evidences(src)
|
||||
use(transfer)
|
||||
use(transfer, TRUE)
|
||||
S.add(transfer)
|
||||
|
||||
/obj/item/stack/Crossed(obj/o)
|
||||
@@ -291,7 +291,7 @@
|
||||
user.put_in_hands(F)
|
||||
add_fingerprint(user)
|
||||
F.add_fingerprint(user)
|
||||
use(amount)
|
||||
use(amount, TRUE)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user