Change this for consistency.
This commit is contained in:
parent
0f79396757
commit
597949f370
|
@ -1331,8 +1331,10 @@ void LUAh_IntermissionThinker(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (hookp = roothook; hookp; hookp = hookp->next)
|
for (hookp = roothook; hookp; hookp = hookp->next)
|
||||||
if (hookp->type == hook_IntermissionThinker)
|
|
||||||
{
|
{
|
||||||
|
if (hookp->type != hook_IntermissionThinker)
|
||||||
|
continue;
|
||||||
|
|
||||||
lua_pushfstring(gL, FMT_HOOKID, hookp->id);
|
lua_pushfstring(gL, FMT_HOOKID, hookp->id);
|
||||||
lua_gettable(gL, LUA_REGISTRYINDEX);
|
lua_gettable(gL, LUA_REGISTRYINDEX);
|
||||||
if (lua_pcall(gL, 0, 0, 0)) {
|
if (lua_pcall(gL, 0, 0, 0)) {
|
||||||
|
|
Loading…
Reference in New Issue