Skip to content

Commit

Permalink
Update medal_awards.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGamerdk committed May 27, 2024
1 parent 163226f commit d0825e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/datums/medal_awards.dm
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,10 @@ GLOBAL_LIST_INIT(xeno_medals, list(XENO_SLAUGHTER_MEDAL, XENO_RESILIENCE_MEDAL,
continue
recipient_ranks[recipient_name] = record.fields["rank"]
possible_recipients += recipient_name
if(length(possible_recipients) == 0)
to_chat(recommendation_giver, SPAN_WARNING("It's not possible to give medals when the ship is empty. Tough luck, partner..."))
return FALSE

var/chosen_recipient = tgui_input_list(recommendation_giver, "Who do you want to recommend a medal for?", "Medal Recommendation", possible_recipients)
if(!chosen_recipient)
return FALSE
Expand Down

0 comments on commit d0825e3

Please sign in to comment.