From 57703a28ad4d9f611f15f74c57976e2b987d0066 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sun, 8 Mar 2026 23:46:30 +0000 Subject: [PATCH] refactor: remove dead code Remove 38 unused audio/announce imports from FightScene.ts left over from the module extraction. All functions are still used by the extracted modules which import them directly. Co-Authored-By: Claude Opus 4.6 --- frontend/src/game/FightScene.ts | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/frontend/src/game/FightScene.ts b/frontend/src/game/FightScene.ts index 15b58ae..c3ff7e7 100644 --- a/frontend/src/game/FightScene.ts +++ b/frontend/src/game/FightScene.ts @@ -21,26 +21,10 @@ import { createRoundSystem } from './fight/rounds' import { createFinisherSystem } from './fight/finishers' import { sfxPunch, sfxKick, sfxSpecial, sfxCritical, sfxGunshot, sfxBulletHit, - sfxJetpack, sfxExplosion, sfxKO, sfxWin, sfxWinAnnounce, sfxPerfect, - sfxRoundStart, sfxBlock, sfxDodge, sfxClash, sfxRandomSilly, sfxBoing, - sfxBonk, sfxZap, sfxSlideDown, sfxSlideUp, sfxZoomWhoosh, sfxRapidPunch, - sfxSplat, sfxWomp, sfxPowerUp, sfxCoin, sfxFail, sfxDrumRoll, - fanfareRound, fanfareFight, fanfareDevastating, fanfareCritical, fanfareCombo, - startMusic, stopMusic, announce, - announceRandom, announceDramatic, announceHype, announceSilly, announceCool, - announceRobot, announceScream, announceFast, - announceFinishHim, announceFatality, announceFlawlessVictory, - announceRandomHype, announceDeepIntro, announceRoundHype, announceCrowdReaction, - announceCreatorEntrance, announceCreatorRound, announceCreatorKO, - announceCreatorWin, announceCreatorLose, announceCreatorMorph, - announceCreatorCameo, announceCreatorTaunt, announceCreatorDevastating, - sfxRandomComedy, sfxRandomFail, - sfxVineBoom, sfxAirHorn, sfxBruh, sfxFart, sfxRecordScratch, - sfxRubberChicken, sfxSqueakyToy, sfxWetSlap, sfxBoneCrack, sfxCartoonRun, - sfxRimShot, sfxSlideWhistleUp, sfxSlideWhistleDown, sfxYippee, sfxDing, - sfxTacoBellBong, sfxWindowsError, sfxMemeThud, - sfxSadTrombone, sfxFailHorn, sfxPriceIsRightFail, sfxBuzzer, - sfxMissionFailed, sfxCrickets, sfxSadViolin, sfxEmotionalDamage, sfxDunDunDun, + sfxJetpack, sfxExplosion, sfxBlock, sfxDodge, sfxClash, sfxRandomSilly, + sfxBoing, sfxBonk, sfxZap, sfxSlideDown, sfxSlideUp, sfxZoomWhoosh, + sfxRapidPunch, sfxPowerUp, sfxCoin, sfxRandomComedy, + startMusic, stopMusic, announceCool, } from './audio'