mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 12:01:43 +00:00
Merge branch 'dev' into lighting-engine-cpp
This commit is contained in:
commit
d8b6aa7d38
1 changed files with 5 additions and 0 deletions
|
|
@ -987,6 +987,11 @@ static s32 bhv_cmd_call_native_ext(void) {
|
|||
}
|
||||
|
||||
const char *funcStr = dynos_behavior_get_token(behavior, BHV_CMD_GET_U32(1));
|
||||
if (!funcStr) {
|
||||
LOG_LUA("Could not retrieve function name from behavior command. Do you have an unclosed behavior script?");
|
||||
gCurBhvCommand += 2;
|
||||
return BHV_PROC_CONTINUE;
|
||||
}
|
||||
|
||||
gSmLuaConvertSuccess = true;
|
||||
LuaFunction funcRef = smlua_get_function_mod_variable(modIndex, funcStr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue