mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-28 14:18:04 -05:00
Allow selecting duplicate weapons on /comp-analyzer
This commit is contained in:
@@ -54,10 +54,7 @@ function CompAnalyzerPage() {
|
||||
);
|
||||
|
||||
const handleWeaponClick = (weaponId: MainWeaponId) => {
|
||||
if (
|
||||
selectedWeaponIds.length >= MAX_WEAPONS ||
|
||||
selectedWeaponIds.includes(weaponId)
|
||||
) {
|
||||
if (selectedWeaponIds.length >= MAX_WEAPONS) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user