From e8ae6fd8d16dc51d22ad4f5525c5399a447e9f69 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Mon, 21 Aug 2023 03:02:42 +0700 Subject: [PATCH] Change votings to output outcome message in one line --- sources/BaseAPI/API/Commands/Voting/Voting.uc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/BaseAPI/API/Commands/Voting/Voting.uc b/sources/BaseAPI/API/Commands/Voting/Voting.uc index 1e9d21b..3b4acc0 100644 --- a/sources/BaseAPI/API/Commands/Voting/Voting.uc +++ b/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")); }