mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
vending fix (#18299)
This commit is contained in:
@@ -544,6 +544,8 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
flick("[icon_state]-deny",src)
|
||||
playsound(src, 'sound/machines/deniedbeep.ogg', 50, 0)
|
||||
return FALSE
|
||||
if(R.amount < 1)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/vending/proc/vend(datum/stored_item/vending_product/R, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user