From 8899a1d27016880708783f9452cb010d8111fe82 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 25 Mar 2024 06:29:13 +1100 Subject: make tech parentOffset interpolated --- source/base/StarAssets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/base/StarAssets.cpp') 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(data)) bytes = ByteArray(str->utf8Ptr(), str->utf8Size()); -- cgit v1.2.3