Fix Vote Relay (#23670)
Update VoteCommands.cs Pretty sure this is it. (cherry picked from commit 2f4204c2e10a9e8fff7cdf1e1ae55a1707ca7353)
This commit is contained in:
parent
800c08139b
commit
a3c27ca219
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue