should be != here

This commit is contained in:
indev authored and Alug committed 2024-09-14 18:16:48 +02:00
1 parent 28d58b9828
commit dc5a9bb856
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++;