diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-25 06:29:13 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-25 06:29:13 +1100 |
commit | 8899a1d27016880708783f9452cb010d8111fe82 (patch) | |
tree | c0d3c45473830698af12a612940a3328fbc92a6f /source/base | |
parent | 560ae08424956bb495bc2453973467d138029c7c (diff) |
make tech parentOffset interpolated
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 9718ec8..f1c1009 100644 --- a/source/base/StarAssets.cpp +++ b/source/base/StarAssets.cpp @@ -141,7 +141,7 @@ Assets::Assets(Settings settings, StringList assetSources) { }); if (newFiles) { - callbacks.registerCallback("add", [this, &newFiles](LuaEngine& engine, String const& path, LuaValue const& data) { + callbacks.registerCallback("add", [&newFiles](LuaEngine& engine, String const& path, LuaValue const& data) { ByteArray bytes; if (auto str = engine.luaMaybeTo<String>(data)) bytes = ByteArray(str->utf8Ptr(), str->utf8Size()); |