Restore some map stuff
All checks were successful
Build Dusk / run-tests (push) Successful in 1m44s
Build Dusk / build-linux (push) Successful in 1m35s
Build Dusk / build-psp (push) Successful in 1m53s

This commit is contained in:
2026-02-03 15:40:56 -06:00
parent 22398ddcef
commit 13dba8b604
16 changed files with 682 additions and 169 deletions

View File

@@ -22,6 +22,12 @@ errorret_t sceneInit(void) {
}
errorret_t sceneUpdate(void) {
#if TIME_FIXED == 0
if(!TIME.dynamicUpdate) {
errorOk();
}
#endif
lua_getglobal(SCENE.scriptContext.luaState, "sceneUpdate");
if(!lua_isfunction(SCENE.scriptContext.luaState, -1)) {
lua_pop(SCENE.scriptContext.luaState, 1);