mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
fix casino pet vending (#19113)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user