refactor assets library

This commit is contained in:
MihailRis
2025-05-25 16:32:54 +03:00
parent b8e6918dc8
commit ac337a4e65
5 changed files with 52 additions and 41 deletions
+1
View File
@@ -64,6 +64,7 @@ static void create_libs(State* L, StateType stateType) {
openlib(L, "__vc_app", applib);
}
if (stateType == StateType::BASE || stateType == StateType::SCRIPT) {
openlib(L, "assets", assetslib);
openlib(L, "audio", audiolib);
openlib(L, "console", consolelib);
openlib(L, "core", corelib);