From: Pancake Date: Sun, 7 Jan 2024 22:38:16 +0000 (-0800) Subject: Fix Vote Relay (#23670) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=2f4204c2e10a9e8fff7cdf1e1ae55a1707ca7353;p=space-station-14.git Fix Vote Relay (#23670) Update VoteCommands.cs Pretty sure this is it. --- diff --git a/Content.Server/Voting/VoteCommands.cs b/Content.Server/Voting/VoteCommands.cs index aad0ee43d7..3c792dc625 100644 --- a/Content.Server/Voting/VoteCommands.cs +++ b/Content.Server/Voting/VoteCommands.cs @@ -171,7 +171,7 @@ namespace Content.Server.Voting chatMgr.DispatchServerAnnouncement(Loc.GetString("cmd-customvote-on-finished-win",("winner", args[(int) eventArgs.Winner]))); } - for (int i = 0; i < eventArgs.Votes.Count - 1; i++) + for (int i = 0; i < eventArgs.Votes.Count; i++) { var oldName = payload.Embeds[0].Fields[i].Name; var newValue = eventArgs.Votes[i].ToString();