From de804d2529b142d68c7f5246c8273f6b3780013e Mon Sep 17 00:00:00 2001 From: Admin Date: Fri, 18 Sep 2026 00:52:13 +0000 Subject: [PATCH] Keep projectile lifecycle out of player hit processing --- src/game-logic.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/game-logic.js b/src/game-logic.js index b642840..dad284c 100644 --- a/src/game-logic.js +++ b/src/game-logic.js @@ -58,10 +58,6 @@ export const processQueuedPlayerHits = ({ cooldownMs = PLAYER_HIT_COOLDOWN_MS, maxHull = PLAYER_MAX_HULL, }) => { - for (const { shot } of hits) { - if (shot?.active && typeof shot.destroy === 'function') shot.destroy(); - } - return reducePlayerHitQueue({ hull, lastHitAt,