diff --git a/RockSniffer/Configuration/OutputSettings.cs b/RockSniffer/Configuration/OutputSettings.cs index 7a262fc..b1efa15 100644 --- a/RockSniffer/Configuration/OutputSettings.cs +++ b/RockSniffer/Configuration/OutputSettings.cs @@ -24,7 +24,8 @@ public OutputSettings() { "song_timer.txt", "%SONG_TIMER%/%SONG_LENGTH%" }, { "notes.txt", "%NOTES_HIT%/%TOTAL_NOTES%" }, { "accuracy.txt", "%CURRENT_ACCURACY%" }, - { "streaks.txt", "%CURRENT_STREAK%/%HIGHEST_STREAK%" } + { "streaks.txt", "%CURRENT_STREAK%/%HIGHEST_STREAK%" }, + { "game_stage.txt", "%GAME_STAGE%" } }; //Convert dictionary to array diff --git a/RockSniffer/Program.cs b/RockSniffer/Program.cs index 01b31c6..3a4f9a0 100644 --- a/RockSniffer/Program.cs +++ b/RockSniffer/Program.cs @@ -377,6 +377,7 @@ private void OutputDetails() outputtext = outputtext.Replace("%NOTES_MISSED%", nd.TotalNotesMissed.ToString()); outputtext = outputtext.Replace("%TOTAL_NOTES%", nd.TotalNotes.ToString()); outputtext = outputtext.Replace("%CURRENT_ACCURACY%", FormatPercentage(nd.Accuracy)); + outputtext = outputtext.Replace("%GAME_STAGE%", memReadout.gameStage); //Write to output WriteTextToFileLocking("output/" + of.filename, outputtext);