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