mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
cleanup AssetsLoader a bit
This commit is contained in:
parent
ab3c1e1b0c
commit
ce068790c1
6 changed files with 86 additions and 80 deletions
|
|
@ -298,6 +298,8 @@ void scripting::on_content_load(Content* content) {
|
|||
} catch (const std::exception&) {
|
||||
lua::pushnil(L);
|
||||
lua::setglobal(L, "__vc_app");
|
||||
lua::pushnil(L);
|
||||
lua::setglobal(L, "__vc_internals");
|
||||
throw;
|
||||
}
|
||||
lua::pushnil(L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue