Skip to content

Commit

Permalink
TGS Test Merge (#6757)
Browse files Browse the repository at this point in the history
  • Loading branch information
lordme authored and lordme committed Sep 19, 2024
2 parents 2301215 + 5f9041e commit d0a8368
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ SUBSYSTEM_DEF(vote)
if(2)
. = CONFIG_GET(string/default_on_transfer_tie)
if(LAZYLEN(winners) > 0)
. = pick(winners)
if(!.)
if(LAZYLEN(winners) > 1)
text += "More than one winner, result chosen at random."
. = pick(winners)
text += "<b>Vote Result: [.]</b>"
else
text += "<b>Vote Result: Inconclusive - No Votes!</b>"
Expand Down

0 comments on commit d0a8368

Please sign in to comment.