diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-06-25 20:03:35 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-06-25 20:03:35 +1000 |
commit | c405fda45cf4eda4ff501c4613c56ead6ff19265 (patch) | |
tree | 29576fee1975b1742cc081307828627f9bdd3272 /source/base | |
parent | 9edbe8cf2d50bd7c5e597120040160c1fa57b3db (diff) |
Update StarAssets.cpp
Diffstat (limited to 'source/base')
-rw-r--r-- | source/base/StarAssets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/StarAssets.cpp b/source/base/StarAssets.cpp index 9fbb66d..a56abd8 100644 --- a/source/base/StarAssets.cpp +++ b/source/base/StarAssets.cpp @@ -209,7 +209,7 @@ Assets::Assets(Settings settings, StringList assetSources) { auto stream = source->read(filename); size_t patchIndex = 0; for (auto const& patchPair : inputUtf8Json(stream.begin(), stream.end(), JsonParseType::Top).iterateArray()) { - auto& patches = patchPair.getArray("patches"); + auto patches = patchPair.getArray("patches"); for (auto& path : patchPair.getArray("paths")) { if (auto p = m_files.ptr(path.toString())) { for (size_t i = 0; i != patches.size(); ++i) { |