mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
committed by
Chompstation Bot
parent
a34cc7a91c
commit
c97fc22813
@@ -458,13 +458,9 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
|
||||
if(!can_buy(R, usr))
|
||||
return
|
||||
|
||||
vend_ready = FALSE // From this point onwards, vendor is locked to performing this transaction only, until it is resolved.
|
||||
|
||||
if(R.price <= 0)
|
||||
vend(R, usr)
|
||||
add_fingerprint(usr)
|
||||
vend_ready = TRUE
|
||||
return TRUE
|
||||
|
||||
if(issilicon(usr)) //If the item is not free, provide feedback if a synth is trying to buy something.
|
||||
@@ -473,6 +469,9 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
if(!ishuman(usr))
|
||||
return
|
||||
|
||||
|
||||
vend_ready = FALSE // From this point onwards, vendor is locked to performing this transaction only, until it is resolved.
|
||||
|
||||
var/mob/living/carbon/human/H = usr
|
||||
var/obj/item/weapon/card/id/C = H.GetIdCard()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user