mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-11 13:46:10 -05:00
Rename variable
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import {
|
||||
type SubWeaponId,
|
||||
subWeaponIds,
|
||||
weaponIds,
|
||||
mainWeaponIds,
|
||||
} from "~/modules/in-game-lists";
|
||||
// xxx: missing id 8010
|
||||
import weapons from "./dicts/WeaponInfoMain.json";
|
||||
@@ -206,7 +206,7 @@ function resolveOverwrites(params: any) {
|
||||
}
|
||||
|
||||
function mainWeaponShouldBeSkipped(weapon: MainWeapon) {
|
||||
if (!weaponIds.includes(weapon.Id as any)) return true;
|
||||
if (!mainWeaponIds.includes(weapon.Id as any)) return true;
|
||||
if (weapon.Season > CURRENT_SEASON) return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user