mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-21 12:29:04 -06:00
Fix crash when registering replacement resource functions
This commit is contained in:
@@ -577,7 +577,7 @@ void AssetManager::setUpAssetLuaTable(Asset* asset) {
|
||||
|
||||
return 1;
|
||||
},
|
||||
2
|
||||
1
|
||||
);
|
||||
lua_setfield(*_luaState, assetTableIndex, "localResource");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user