Skip to content

Commit

Permalink
the change
Browse files Browse the repository at this point in the history
  • Loading branch information
JimKil3 committed Feb 28, 2024
1 parent ada6e39 commit bfffcbb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,11 @@ GLOBAL_LIST_EMPTY(preferences_datums)
if(!SSmapping)
return

var/datum/map_template/shuttle/ship = SSmapping.ship_purchase_list[tgui_input_list(user, "Please select which ship to preview outfits for.", "Outfit selection", SSmapping.ship_purchase_list)]
var/ship_selection = tgui_input_list(user, "Please select which ship to preview outfits for.", "Outfit selection", (list("None") + SSmapping.ship_purchase_list))
if(ship_selection == "None")
selected_outfit = new /datum/outfit //The base type outfit is nude

var/datum/map_template/shuttle/ship = SSmapping.ship_purchase_list[ship_selection]
if(!ship)
return

Expand Down

0 comments on commit bfffcbb

Please sign in to comment.