Fix Vote Relay (#23670)

Update VoteCommands.cs

Pretty sure this is it.
This commit is contained in:
Pancake
2024-01-07 14:38:16 -08:00
committed by GitHub
parent fd3c529717
commit 2f4204c2e1

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