Commit 4898cb18 authored by June's avatar June
Browse files

Fix player music sync at end of meeting

parent 7f51e2f1
......@@ -59,7 +59,7 @@ namespace MomentaryMeeting.Game
_arrangementGenerator.Generate();
foreach (var kv in _players)
{
// No need to wait for anything here, just make a best-effort
// No need to wait for anything here, ju st make a best-effort
// broadcast to all players
_ = this.SendPromptToPlayer(kv.Value, ">" + _databaseApi.Current.GlobalText.SelectFromList("world_shift"));
}
......@@ -180,14 +180,15 @@ namespace MomentaryMeeting.Game
{
term = _databaseApi.Current.GlobalText.SelectFromList("end_meeting_torn");
term += "\n\n" + _commandParser.GetRoomDescription(conn.User);
await SyncPlayerMusic(conn);
await SendPromptToPlayer(conn, term);
}
else
{
term = ">" + _databaseApi.Current.GlobalText.SelectFromList("end_meeting_apart");
await SyncPlayerMusic(conn);
await SendPromptToPlayer(conn, term);
}
await SyncPlayerMusic(conn);
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment