Browse Source

Change votings to output outcome message in one line

develop
Anton Tarasenko 1 year ago
parent
commit
e8ae6fd8d1
  1. 3
      sources/BaseAPI/API/Commands/Voting/Voting.uc

3
sources/BaseAPI/API/Commands/Voting/Voting.uc

@ -828,7 +828,8 @@ private final function AnnounceOutcome(BaseText outcomeMessage, optional EPlayer
currentPlayers = _.players.GetAll();
for (i = 0; i < currentPlayers.length; i += 1) {
writer = currentPlayers[i].BorrowConsole();
writer.WriteLine(editedOutcomeMessage);
writer.Write(editedOutcomeMessage);
writer.Write(P(" / "));
writer.WriteLine(summaryLine);
currentPlayers[i].Notify(editedOutcomeMessage, summaryLine,, P("voting"));
}

Loading…
Cancel
Save