Skip to content

Commit da5a87e

Browse files
committed
Use local function instead of Action
The warning is bugging me for quite some time, so I'm just gonna resolve this here
1 parent 2eeac6b commit da5a87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Game.Rulesets.Rush/Objects/Drawables/DrawableRushHitObject.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected override void UpdateHitStateTransforms(ArmedState state)
108108
{
109109
// This is the only point to correctly apply values to the judgement
110110
// result in correct time, check whether the player collided now.
111-
Action<JudgementResult> rushApplication = br =>
111+
void rushApplication(JudgementResult br)
112112
{
113113
var r = (RushJudgementResult)br;
114114

0 commit comments

Comments
 (0)