Skip to content

Commit

Permalink
transfer vote ties now always extend and there is a message for rando…
Browse files Browse the repository at this point in the history
…mly chosen results
  • Loading branch information
TheLordME committed Sep 16, 2024
1 parent ac3e0a7 commit a8193cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ SUBSYSTEM_DEF(vote)
. = "Initiate Crew Transfer"
if(2)
. = CONFIG_GET(string/default_on_transfer_tie)
if(LAZYLEN(winners) > 0)
else if(LAZYLEN(winners) > 0)
if(LAZYLEN(winners) > 1)
text += "More than one winner, result chosen at random."
. = pick(winners)
text += "<b>Vote Result: [.]</b>"
else
Expand Down

0 comments on commit a8193cb

Please sign in to comment.