From 08b1d5beb9f33be940163550ff8266338e5941ac Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Wed, 26 Apr 2017 20:15:34 +0900 Subject: [PATCH] Use const where it was inteded. --- osu.Game/Screens/Play/PlayerInputManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Play/PlayerInputManager.cs b/osu.Game/Screens/Play/PlayerInputManager.cs index c6853b3007..654cde1b75 100644 --- a/osu.Game/Screens/Play/PlayerInputManager.cs +++ b/osu.Game/Screens/Play/PlayerInputManager.cs @@ -61,7 +61,7 @@ namespace osu.Game.Screens.Play int loops = 0; - while (validState && requireMoreUpdateLoops && loops++ < 50) + while (validState && requireMoreUpdateLoops && loops++ < max_catch_up_updates_per_frame) if (!base.UpdateSubTree()) return false;