diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-15 21:28:11 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-15 21:28:11 +1100 |
commit | 6fa0afd758a6351873df813cd7e70b1904714ed6 (patch) | |
tree | fbf45f18af0962a1d9ed3a2f44d8bb208c032645 /source/game/StarRoot.cpp | |
parent | 696abcca71274fbda2470f1941cb2e06b6ff8c61 (diff) |
experimental asset load scripts
Diffstat (limited to 'source/game/StarRoot.cpp')
-rw-r--r-- | source/game/StarRoot.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/game/StarRoot.cpp b/source/game/StarRoot.cpp index 3e5f8f8..7b8d495 100644 --- a/source/game/StarRoot.cpp +++ b/source/game/StarRoot.cpp @@ -697,11 +697,12 @@ StringList Root::scanForAssetSources(StringList const& directories, StringList c StringList sourcePaths; for (auto const& source : dependencySortedSources) { + auto path = File::convertDirSeparators(source->path); if (source->name) - Logger::info("Root: Detected asset source named '{}' at '{}'", *source->name, source->path); + Logger::info("Root: Detected asset source named '{}' at '{}'", *source->name, path); else - Logger::info("Root: Detected unnamed asset source at '{}'", source->path); - sourcePaths.append(source->path); + Logger::info("Root: Detected unnamed asset source at '{}'", path); + sourcePaths.append(path); } return sourcePaths; |