From 285120696b667e58c06efd86873cd7c25a0af424 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Sun, 19 Oct 2025 22:46:49 +0200 Subject: [PATCH] fix some bad tgui handling (#18651) * fix some bad tgui handling * . --- code/modules/casino/casino.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/casino/casino.dm b/code/modules/casino/casino.dm index 09d3bc59c31..00fdaeb10e9 100644 --- a/code/modules/casino/casino.dm +++ b/code/modules/casino/casino.dm @@ -604,12 +604,12 @@ return var/confirmitemtf = tgui_alert(user, "Would you like to allow others to turn you into an item upon claiming you if they choose to?", "Confirm Item TF Preference", list("Yes", "No")) var/allowitemtf = FALSE - if(confirmitemtf != "No") + if(confirmitemtf == "Yes") allowitemtf = TRUE - to_chat(user, span_warning("You are now a prize!")) if(safety_ckey in sentientprizes_ckeys_list) to_chat(user, span_warning("The SPASM beeps in an upset manner, you already have a collar!")) return + to_chat(user, span_warning("You are now a prize!")) sentientprizes_ckeys_list += user.ckey var/obj/item/clothing/accessory/collar/casinosentientprize/C = new(src.loc) C.sentientprizename = "[user.name]"