diff --git a/code/game/objects/items/weapons/vending_items.dm b/code/game/objects/items/weapons/vending_items.dm index 1c4b0b5c19e..caebefc24fc 100644 --- a/code/game/objects/items/weapons/vending_items.dm +++ b/code/game/objects/items/weapons/vending_items.dm @@ -36,8 +36,6 @@ . += "It can restock [num] item\s." /obj/item/vending_refill/get_part_rating() - if (!products || !contraband || !premium) - return INFINITY . = 0 for(var/key in products) . += products[key] @@ -46,6 +44,9 @@ for(var/key in premium) . += premium[key] + if(. > 30) + return INFINITY + /obj/item/vending_refill/boozeomat machine_name = "Booze-O-Mat" icon_state = "refill_booze"