public override void OnRoundOver(int winningTeamId)
{
if (!fIsEnabled) return;
DebugWrite("^9^bGot OnRoundOver^n: winner " + winningTeamId, 7);
try {
fWinner = winningTeamId;
fRoundOverTimestamp = DateTime.Now;
DebugWrite(":::::::::::::::::::::::::::::::::::: ^b^1Round over detected^0^n ::::::::::::::::::::::::::::::::::::", 3);
if (fGameState == GameState.Playing || fGameState == GameState.Unknown) {
fGameState = GameState.RoundEnding;
DebugWrite("OnRoundOver: ^b^3Game state = " + fGameState, 6);
}
if (DebugLevel >= 3 && fTicketLossHistogram.Total > 10) {
CommandToLog("histogram");
}
} catch (Exception e) {
ConsoleException(e);
}
}