Added report better
This commit is contained in:
parent
54ed6af060
commit
ccf8618ff2
4 changed files with 38 additions and 17 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue