diff --git a/DeathrunRemade/Handlers/RunHandler.cs b/DeathrunRemade/Handlers/RunHandler.cs index b65c2e7..5d6eb83 100644 --- a/DeathrunRemade/Handlers/RunHandler.cs +++ b/DeathrunRemade/Handlers/RunHandler.cs @@ -95,6 +95,8 @@ public void DeleteRun(int id, float scoreTotal) public void StartNewRun(SaveData save) { int id = GetNewRunID(); + // Immediately save to keep track of the number of attempted runs, not just the number of deaths. + _ = ModStats.SaveAsync(); _log.Info($"Starting new run with id {id}"); // The stats themselves do not need to be initialised because they are contained in a struct set up in // tandem with the save file. The struct defaults to values recognised as the player having done nothing.