Allow selecting duplicate weapons on /comp-analyzer

This commit is contained in:
Kalle 2026-01-20 22:35:52 +02:00
parent e4e3c46edf
commit 55d87c05c1

View File

@ -54,10 +54,7 @@ function CompAnalyzerPage() {
);
const handleWeaponClick = (weaponId: MainWeaponId) => {
if (
selectedWeaponIds.length >= MAX_WEAPONS ||
selectedWeaponIds.includes(weaponId)
) {
if (selectedWeaponIds.length >= MAX_WEAPONS) {
return;
}