diff options
| author | Adam Bird <Archez@users.noreply.github.com> | 2023-04-13 18:37:10 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-13 18:37:10 -0400 |
| commit | b58aca0114c149d2f709a55f3fc49602eaff5b89 (patch) | |
| tree | 660781e2f31a0c6efa605e304d3df9237cf1ee8b | |
| parent | 989aa51798f1d5fafc7112f391789d299def10c7 (diff) | |
fix soh otr asset building not detecting textures (#2702)
| -rw-r--r-- | OTRExporter/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OTRExporter/Main.cpp b/OTRExporter/Main.cpp index fb49210..ac8c60d 100644 --- a/OTRExporter/Main.cpp +++ b/OTRExporter/Main.cpp @@ -119,8 +119,8 @@ static void ExporterProgramEnd() if (splitPath.size() >= 3) { - const std::string& extension = splitPath.at(splitPath.size() - 1); - const std::string& format = splitPath.at(splitPath.size() - 2); + const std::string extension = splitPath.at(splitPath.size() - 1); + const std::string format = splitPath.at(splitPath.size() - 2); splitPath.pop_back(); splitPath.pop_back(); std::string afterPath = std::accumulate(splitPath.begin(), splitPath.end(), std::string("")); |
