mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-26 03:01:11 +00:00
Just moved Lua_HookVoid really to the end of the function.
This commit is contained in:
parent
0a1662a893
commit
4147569e10
1 changed files with 2 additions and 2 deletions
|
@ -8345,8 +8345,6 @@ static boolean P_LoadAddon(UINT16 numlumps)
|
|||
if (!mapsadded)
|
||||
CONS_Printf(M_GetText("No maps added\n"));
|
||||
|
||||
LUA_HookVoid(HOOK(AddonLoaded));
|
||||
|
||||
R_LoadSpriteInfoLumps(wadnum, numlumps);
|
||||
|
||||
#ifdef HWRENDER
|
||||
|
@ -8368,6 +8366,8 @@ static boolean P_LoadAddon(UINT16 numlumps)
|
|||
SendNetXCmd(XD_EXITLEVEL, NULL, 0);
|
||||
}
|
||||
|
||||
LUA_HookVoid(HOOK(AddonLoaded));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue