From 2f4204c2e10a9e8fff7cdf1e1ae55a1707ca7353 Mon Sep 17 00:00:00 2001 From: Pancake Date: Sun, 7 Jan 2024 14:38:16 -0800 Subject: [PATCH] Fix Vote Relay (#23670) Update VoteCommands.cs Pretty sure this is it. --- Content.Server/Voting/VoteCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.51.2