From caba213e9d9bb96cfc13d6a6f081af4c1231ee39 Mon Sep 17 00:00:00 2001 From: Clansty Date: Sat, 18 Jan 2025 06:24:59 +0800 Subject: [PATCH 1/2] [+] Allow disable music rank for own machine --- AquaNet/src/components/settings/Mai2Settings.svelte | 2 ++ AquaNet/src/libs/i18n/en_ref.ts | 2 ++ AquaNet/src/libs/i18n/zh.ts | 2 ++ src/main/java/icu/samnyan/aqua/net/db/AquaGameOptions.kt | 3 +++ .../aqua/sega/maimai2/handler/GetGameRankingHandler.kt | 9 ++++++++- .../db/V1000_35__maimai2_optional_music_rank.sql | 1 + 6 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/db/V1000_35__maimai2_optional_music_rank.sql diff --git a/AquaNet/src/components/settings/Mai2Settings.svelte b/AquaNet/src/components/settings/Mai2Settings.svelte index 544b2ce8..a664111d 100644 --- a/AquaNet/src/components/settings/Mai2Settings.svelte +++ b/AquaNet/src/components/settings/Mai2Settings.svelte @@ -5,6 +5,7 @@ import Icon from "@iconify/svelte"; import StatusOverlays from "../StatusOverlays.svelte"; import { GAME } from "../../libs/sdk"; + import GameSettingFields from "./GameSettingFields.svelte"; const profileFields = [ ['name', t('settings.mai2.name')], @@ -72,6 +73,7 @@ {/each} +