From 01a42ff26ff8be0a2f1cd72844da6a98bad2da3a Mon Sep 17 00:00:00 2001 From: Shane Woolcock Date: Fri, 29 May 2020 17:25:38 +0930 Subject: [PATCH] Temporarily disable attack transforms until we have animations --- osu.Game.Rulesets.Rush/UI/RushPlayerSprite.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/osu.Game.Rulesets.Rush/UI/RushPlayerSprite.cs b/osu.Game.Rulesets.Rush/UI/RushPlayerSprite.cs index 8e0c2bd..4e5be36 100644 --- a/osu.Game.Rulesets.Rush/UI/RushPlayerSprite.cs +++ b/osu.Game.Rulesets.Rush/UI/RushPlayerSprite.cs @@ -183,6 +183,10 @@ private void updateHold() public bool OnPressed(RushAction action) { + // temporarily break out if running + if (runningAnimation.IsPlaying) + return false; + // OnPressed/OnReleased will only ever handle actions not // caught by hitobjects (this is what we want)