From d7455e4ae783bb08861e7f8f6c35a0d7153a0ca6 Mon Sep 17 00:00:00 2001 From: JackTheJackhammer <77555989+JackTheJackhammer@users.noreply.github.com> Date: Wed, 17 May 2023 06:05:42 -0400 Subject: [PATCH] Stops the Weight Bench from being deleted when select wheel is closed (#12967) * fix bench, return when no choice * moved return up * actually moves the !choice check --- code/game/objects/structures/benchpress.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/structures/benchpress.dm b/code/game/objects/structures/benchpress.dm index 03912d0a626c9..475f5dd755de7 100644 --- a/code/game/objects/structures/benchpress.dm +++ b/code/game/objects/structures/benchpress.dm @@ -71,6 +71,8 @@ "5" = image(icon = 'icons/obj/structures/benchpress.dmi', icon_state = "benchpress_5"), ) var/choice = show_radial_menu(user, src, radial_options, null, 64, null, TRUE, TRUE) + if(!choice) + return plates = text2num(choice) update_icon() flick("swap_[plates]", src)