[F] Disable 2P music

This commit is contained in:
Clansty 2024-05-15 23:29:42 +08:00
parent 991442d5c0
commit 29505fa4a3

View File

@ -57,5 +57,23 @@ namespace AquaMai.UX
return; return;
} }
} }
[HarmonyPrefix]
[HarmonyPatch(typeof(SoundManager), "PlayBGM")]
public static bool PrePlayBGM(ref int target)
{
switch (target)
{
case 0:
return true;
case 1:
return false;
case 2:
target = 0;
return true;
default:
return false;
}
}
} }
} }