add print

This commit is contained in:
coco875 2025-12-16 17:45:13 +01:00
parent b0f21127b6
commit e848105873
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ void TrackBrowser::FindCustomTracks() {
info.Path = dir;
TrackEditor::LoadTrackInfo(info, archive, sceneFile);
if (info.ResourceName.empty()) {
printf("[TrackBrowser] Track has invalid resource name; expected format: author:mod_name");
info.ResourceName = std::string("mods:") + name;
}
printf("[TrackBrowser] Added custom track %s\n", info.Name.c_str());