1
0
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:
Dan Balasescu 2024-02-07 03:50:56 +09:00
parent 9b8f206486
commit 38f7913b31
No known key found for this signature in database

View File

@ -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)