mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:02:55 +08:00
Fix inverted condition
This commit is contained in:
parent
9b8f206486
commit
38f7913b31
@ -251,7 +251,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
|
||||
public bool OnPressed(KeyBindingPressEvent<OsuAction> e)
|
||||
{
|
||||
if (CanBeHit())
|
||||
if (!CanBeHit())
|
||||
return false;
|
||||
|
||||
switch (e.Action)
|
||||
|
Loading…
Reference in New Issue
Block a user