should be != here

This commit is contained in:
indev committed 2024-09-14 19:04:51 +03:00
1 parent 075097c219
commit 71fe6ec9da
1 file changed
+1 -1
+1 -1
View File
@@ -1698,7 +1698,7 @@ UINT8 LUAh_ShouldExplode(player_t *player, mobj_t *inflictor, mobj_t *source)
for (hookp = roothook; hookp; hookp = hookp->next)
{
if (hookp->type == hook_ShouldExplode)
if (hookp->type != hook_ShouldExplode)
continue;
ps_lua_mobjhooks.value.i++;