mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:17:51 +08:00
Fixed an issue where Taiko's Single Tap could allow alternation under very specific circumstances
This commit is contained in:
parent
ec95d00313
commit
865f785f50
@ -26,7 +26,14 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
public override string Acronym => @"SG";
|
||||
public override LocalisableString Description => @"One key for dons, one key for kats.";
|
||||
|
||||
protected bool CheckValidNewAction(TaikoAction action) => LastAcceptedDonAction == null || LastAcceptedDonAction == action || LastAcceptedKatAction == null || LastAcceptedKatAction == action;
|
||||
protected bool CheckValidNewAction(TaikoAction action)
|
||||
{
|
||||
if (action == TaikoAction.LeftCentre || action == TaikoAction.RightCentre)
|
||||
return LastAcceptedDonAction == null || LastAcceptedDonAction == action;
|
||||
if (action == TaikoAction.LeftRim || action == TaikoAction.RightRim)
|
||||
return LastAcceptedKatAction == null || LastAcceptedKatAction == action;
|
||||
return true;
|
||||
}
|
||||
|
||||
public override double ScoreMultiplier => 1.0;
|
||||
public override Type[] IncompatibleMods => new[] { typeof(ModAutoplay), typeof(ModRelax), typeof(TaikoModCinema) };
|
||||
|
Loading…
Reference in New Issue
Block a user