Allow specifying a text to be shown to players in the summary when ending the round. (#1818)

* Allow specifying a text to be shown to players when ending the round.
Also sets text

* Fix comment
This commit is contained in:
Víctor Aguilera Puerto
2020-08-20 18:09:29 +02:00
committed by GitHub
parent de61a01703
commit 9e7d698145
7 changed files with 47 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ namespace Content.Client.GameTicking
private void RoundEnd(MsgRoundEndMessage message)
{
//This is not ideal at all, but I don't see an immediately better fit anywhere else.
var roundEnd = new RoundEndSummaryWindow(message.GamemodeTitle, message.RoundDuration, message.AllPlayersEndInfo);
var roundEnd = new RoundEndSummaryWindow(message.GamemodeTitle, message.RoundEndText, message.RoundDuration, message.AllPlayersEndInfo);
}
}