Fix Vote Relay (#23670)

Update VoteCommands.cs

Pretty sure this is it.

(cherry picked from commit 2f4204c2e10a9e8fff7cdf1e1ae55a1707ca7353)
This commit is contained in:
Pancake 2024-01-07 14:38:16 -08:00 committed by Debug
parent 800c08139b
commit a3c27ca219
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 1 deletions

View File

@ -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();