Skip to content

Commit

Permalink
more log lines
Browse files Browse the repository at this point in the history
Signed-off-by: Erymanthus[#5074] | (u/)RayDeeUx <[email protected]>
  • Loading branch information
RayDeeUx committed Sep 4, 2024
1 parent 8c21807 commit 4f09543
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ void populateVector(bool customSongs) {
bool loopExists = std::filesystem::exists(lastMenuLoop);
log::info("\n=== 'REMEMBER LAST MENU LOOP' DEBUG INFO ===\nlast menu loop: {}\n'saveSongOnGameClose' setting: {}\nloopExists: {}", lastMenuLoop, saveSongOnGameClose, loopExists);
if (!lastMenuLoop.empty() && Utils::isSupportedExtension(lastMenuLoop) && loopExists && saveSongOnGameClose) {
log::info("setting songManager's current song to saved song from on_mod(Loaded)");
songManager.setCurrentSongToSavedSong();
} else {
log::info("randomizing songManager's current song through on_mod(Loaded)");
songManager.pickRandomSong();
}

Expand Down

0 comments on commit 4f09543

Please sign in to comment.