fix casino pet vending (#19113)

This commit is contained in:
Kashargul
2026-01-30 01:08:48 +01:00
committed by GitHub
parent 0768ea5ae8
commit 4ac6886942
@@ -55,6 +55,7 @@
var/category_drinks = 2
var/category_implants = 1
var/category_event = 1 //For special events, holidays, etc
var/category_pets = 2
/obj/machinery/casino_prize_dispenser/Initialize(mapload)
. = ..()
@@ -282,6 +283,8 @@
restriction_check = category_implants
if("event")
restriction_check = category_event
if("pets")
restriction_check = category_pets
else
to_chat(ui.user, span_warning("Prize checkout error has occurred, purchase cancelled."))
return FALSE