fix wrong trackposition during lead in caused by music offsets

This commit is contained in:
yugecin 2016-12-04 22:45:05 +01:00
parent 25f310887d
commit e3fdd73e36

View File

@ -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;