Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/base/StarAssets.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-08 16:12:48 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-08 16:12:48 +1000
commit4a3ffadecba57e64ebd8f6f6c4d15744c38e52b9 (patch)
treefa591190bb29b0c93487a5c368041c9cd72ef190 /source/base/StarAssets.hpp
parent9ef38ce076189dbf9f0ca8c0641febf6ea4038a7 (diff)
Expose assets lua callbacks to patch contexts
Diffstat (limited to 'source/base/StarAssets.hpp')
-rw-r--r--source/base/StarAssets.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/base/StarAssets.hpp b/source/base/StarAssets.hpp
index 952e024..54cbb2f 100644
--- a/source/base/StarAssets.hpp
+++ b/source/base/StarAssets.hpp
@@ -320,7 +320,7 @@ private:
// Lua
RefPtr<RefCounter> m_luaEngine; // dumb but to avoid including Lua.hpp in here...
mutable StringMap<LuaContextPtr> m_patchContexts;
- mutable Mutex m_luaMutex;
+ mutable RecursiveMutex m_luaMutex;
// Paths of all used asset sources, in load order.
StringList m_assetSources;