Added report better

This commit is contained in:
erikn 2025-03-30 22:09:16 +02:00
parent 54ed6af060
commit ccf8618ff2
4 changed files with 38 additions and 17 deletions

View file

@ -205,5 +205,17 @@ namespace MosswartMassacre
{
MyHost.Actions.AddChatText("[Mosswart Massacre] " + message, 0, 1);
}
public static void RestartStats()
{
totalKills = 0;
rareCount = 0;
statsStartTime = DateTime.Now;
killsPer5Min = 0;
killsPerHour = 0;
WriteToChat("Stats have been reset.");
MainView.UpdateKillStats(totalKills, killsPer5Min, killsPerHour);
MainView.UpdateRareCount(rareCount);
}
}
}