Skip to content

Commit

Permalink
Temporarily disable attack transforms until we have animations
Browse files Browse the repository at this point in the history
  • Loading branch information
swoolcock committed May 29, 2020
1 parent 217ab63 commit 01a42ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions osu.Game.Rulesets.Rush/UI/RushPlayerSprite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 01a42ff

Please sign in to comment.