Skip to content

Commit b1d9e84

Browse files
committed
🌶
1 parent 718fc24 commit b1d9e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/models/Additional_data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ public function get_ops_sus_suicides($op_ids = false)
653653
AND hit.victim_aid = hit.attacker_aid
654654
AND hit.victim_aid = killed.victim_aid
655655
AND hit.operation_id = killed.operation_id
656-
AND (hit.frame = killed.frame OR hit.frame = (killed.frame - 1) OR hit.frame = (killed.frame + 1))", 'LEFT')
656+
AND hit.frame IN (killed.frame, GREATEST(killed.frame, 1) - 1, killed.frame + 1)", 'LEFT')
657657
->where("hit.id IS NULL AND killed.event = 'killed' AND killed.victim_aid IS NOT NULL AND killed.victim_aid = killed.attacker_aid");
658658

659659
if ($op_ids !== false) {

0 commit comments

Comments
 (0)