From 3fb5df330a44c619f0d31b516c893fb6439b9795 Mon Sep 17 00:00:00 2001 From: yugecin Date: Thu, 22 Jun 2017 12:30:29 +0200 Subject: [PATCH] removed unnecessary pause check --- src/itdelatrisu/opsu/states/Game.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/itdelatrisu/opsu/states/Game.java b/src/itdelatrisu/opsu/states/Game.java index cc5d4666..71915169 100644 --- a/src/itdelatrisu/opsu/states/Game.java +++ b/src/itdelatrisu/opsu/states/Game.java @@ -748,13 +748,6 @@ public class Game extends ComplexOpsuState { if (!isLeadIn()) MusicController.resume(); } - - // focus lost: go back to pause screen - else if (!Display.isActive()) { - displayContainer.switchState(pauseState); - pausePulse = 0f; - } - // advance pulse animation else { pausePulse += delta / 750f;