mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:07:52 +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)
|
public bool OnPressed(KeyBindingPressEvent<OsuAction> e)
|
||||||
{
|
{
|
||||||
if (CanBeHit())
|
if (!CanBeHit())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
switch (e.Action)
|
switch (e.Action)
|
||||||
|
Loading…
Reference in New Issue
Block a user