mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
Merge pull request #15313 from Heroman3003/casino_fix
Some small casino fixes
This commit is contained in:
@@ -133,6 +133,7 @@
|
||||
var/ball_desc = "a small metal ball"
|
||||
icon = 'icons/obj/casino.dmi'
|
||||
icon_state = "roulette_ball"
|
||||
w_class = ITEMSIZE_TINY
|
||||
|
||||
var/cheatball = FALSE
|
||||
|
||||
@@ -564,10 +565,11 @@
|
||||
return
|
||||
if("Show selected Prize")
|
||||
if(QDELETED(selected_collar))
|
||||
collar_list -= selected_collar
|
||||
sentientprizes_ckeys_list -= selected_collar.sentientprizeckey
|
||||
if(selected_collar)
|
||||
collar_list -= selected_collar
|
||||
sentientprizes_ckeys_list -= selected_collar.sentientprizeckey
|
||||
selected_collar = null
|
||||
to_chat(user, "<span class='warning'>No collar is currently selected or the currently selected one has been destroyed or disabled.</span>")
|
||||
selected_collar = null
|
||||
return
|
||||
to_chat(user, "<span class='warning'>Sentient Prize information</span>")
|
||||
to_chat(user, "<span class='notice'>Name: [selected_collar.sentientprizename]</span>")
|
||||
|
||||
Reference in New Issue
Block a user