From 03ca2193563b6521da2134a5eae677b40e401e18 Mon Sep 17 00:00:00 2001 From: Zuhayr Date: Wed, 2 Jul 2014 05:35:28 +0930 Subject: [PATCH] Fixes #5443 --- code/game/machinery/suit_storage_unit.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/suit_storage_unit.dm b/code/game/machinery/suit_storage_unit.dm index bf3c4981ddb..58e3378dca6 100644 --- a/code/game/machinery/suit_storage_unit.dm +++ b/code/game/machinery/suit_storage_unit.dm @@ -826,9 +826,11 @@ helmet.loc = get_turf(src) helmet = null else if(href_list["select_department"]) - target_department = input("Please select the target department paintjob.","Suit cycler",null) as null|anything in departments + var/choice = input("Please select the target department paintjob.","Suit cycler",null) as null|anything in departments + if(choice) target_department = choice else if(href_list["select_species"]) - target_species = input("Please select the target species configuration.","Suit cycler",null) as null|anything in species + var/choice = input("Please select the target species configuration.","Suit cycler",null) as null|anything in species + if(choice) target_species = choice else if(href_list["select_rad_level"]) var/choices = list(1,2,3) if(emagged)