Skip to content

Commit

Permalink
Update code/game/objects/items/storage/firstaid.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar authored Apr 25, 2024
1 parent 2e61e24 commit 8811bc6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions code/game/objects/items/storage/firstaid.dm
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,8 @@
"Black" = "12",
)
var/selected_color = tgui_input_list(user, "Select a color.", "Color choice", possible_colors)

if (!selected_color)
selected_color = ""
if(!selected_color)
return

selected_color = possible_colors[selected_color]

Expand Down

0 comments on commit 8811bc6

Please sign in to comment.