mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09:00
Rewrite comment to hopefully be more readable
This commit is contained in:
parent
f70e45b199
commit
0d0b4ea78a
@ -158,7 +158,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
|
|||||||
{
|
{
|
||||||
var otherKey = headCircleHitAction == OsuAction.RightButton ? OsuAction.LeftButton : OsuAction.RightButton;
|
var otherKey = headCircleHitAction == OsuAction.RightButton ? OsuAction.LeftButton : OsuAction.RightButton;
|
||||||
|
|
||||||
// we can return to accepting all other keys if they were released in the previous frame.
|
// we can start accepting any key once all other keys have been released in the previous frame.
|
||||||
if (!lastPressedActions.Contains(otherKey))
|
if (!lastPressedActions.Contains(otherKey))
|
||||||
timeToAcceptAnyKeyAfter = Time.Current;
|
timeToAcceptAnyKeyAfter = Time.Current;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user