diff --git a/src/main.ts b/src/main.ts index f69f5efd..4e7e332a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -398,7 +398,7 @@ class NiconiComments { break; } } - if (left_pos <= 40 && !is_break) { + if (left_pos <= 40) { for (let k in this.collision_left[vpos]) { let l = this.collision_left[vpos][k]; if ((posY < data[l]!.posY + data[l]!.height && posY + comment.height > data[l]!.posY) && data[l]!.owner === comment.owner) { @@ -421,9 +421,6 @@ class NiconiComments { break; } } - if (is_break) { - break; - } } if (is_break) { break;