From e3fdd73e362ccb4ea8e5cc9651ddb350914e6470 Mon Sep 17 00:00:00 2001 From: yugecin Date: Sun, 4 Dec 2016 22:45:05 +0100 Subject: [PATCH] fix wrong trackposition during lead in caused by music offsets --- src/itdelatrisu/opsu/states/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/states/Game.java b/src/itdelatrisu/opsu/states/Game.java index 6ea75fd9..3283d96b 100644 --- a/src/itdelatrisu/opsu/states/Game.java +++ b/src/itdelatrisu/opsu/states/Game.java @@ -371,7 +371,7 @@ public class Game extends BasicGameState { int height = container.getHeight(); int trackPosition = MusicController.getPosition(); if (isLeadIn()) { - trackPosition -= leadInTime; + trackPosition -= leadInTime - currentMapMusicOffset - Options.getMusicOffset(); } if (pauseTime > -1) // returning from pause screen trackPosition = pauseTime;