1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +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)
{
if (CanBeHit())
if (!CanBeHit())
return false;
switch (e.Action)