sendou.ink/app/features/build-analyzer
Kalle b261600f0e Fix object damage calculator crash on invalid SPECIAL weapon ID
The SPECIAL branch of validatedAnyWeaponFromSearchParams only checked
nonDamagingSpecialWeaponIds membership, not whether the parsed id was
actually a valid SpecialWeaponId. A malformed URL like
?weapon=SPECIAL_9ap=0... made Number() return NaN, which fell through
to exampleMainWeaponIdWithSpecialWeaponId and hit assertUnreachable.
2026-05-01 16:04:35 +03:00
..
components
core
routes
analyzer-constants.ts
analyzer-hooks.ts
analyzer-types.ts