mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-01-22 07:32:07 -05:00
Patch highlighted mod on crash screen
This commit is contained in:
parent
f8f0b376f2
commit
261dfe0d76
2 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ int smlua_call_hook(lua_State* L, int nargs, int nresults, int errfunc, struct M
|
|||
struct Mod* prev = gLuaActiveMod;
|
||||
gLuaActiveMod = activeMod;
|
||||
gLuaLastHookMod = activeMod;
|
||||
gPcDebug.lastModRun = activeMod;
|
||||
|
||||
lua_profiler_start_counter(activeMod);
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ static void smlua_sync_table_call_hook(int syncTableIndex, int keyIndex, int pre
|
|||
struct Mod* prev = gLuaActiveMod;
|
||||
gLuaActiveMod = mod;
|
||||
gLuaLastHookMod = mod;
|
||||
gPcDebug.lastModRun = gLuaActiveMod;
|
||||
gPcDebug.lastModRun = mod;
|
||||
if (0 != smlua_pcall(L, 3, 0, 0)) {
|
||||
LOG_LUA_LINE("Failed to call the hook_on_changed callback");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue