From cac1afec924f468273cbbad18b87e192db6fdd7a Mon Sep 17 00:00:00 2001 From: harryob Date: Wed, 11 Oct 2023 16:27:48 +0100 Subject: [PATCH] makes the description for origins do something (#4619) people wrote up all these descriptions and they never ever were displayed. awesome :cl: add: origin descriptions are now displayed when selecting an origin /:cl: --- code/modules/client/preferences.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 84a35163339b..554ba28e417f 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -1696,6 +1696,9 @@ var/const/MAX_SAVE_SLOTS = 10 if("origin") var/choice = tgui_input_list(user, "Please choose your character's origin.", "Origin Selection", GLOB.player_origins) + var/datum/origin/picked_choice = GLOB.origins[choice] + if(tgui_alert(user, "You've selected [picked_choice.name]. [picked_choice.desc]", "Selected Origin", list("Confirm", "Cancel")) == "Cancel") + return if(choice) origin = choice