fix wrong trackposition during lead in caused by music offsets
This commit is contained in:
parent
25f310887d
commit
e3fdd73e36
|
@ -371,7 +371,7 @@ public class Game extends BasicGameState {
|
||||||
int height = container.getHeight();
|
int height = container.getHeight();
|
||||||
int trackPosition = MusicController.getPosition();
|
int trackPosition = MusicController.getPosition();
|
||||||
if (isLeadIn()) {
|
if (isLeadIn()) {
|
||||||
trackPosition -= leadInTime;
|
trackPosition -= leadInTime - currentMapMusicOffset - Options.getMusicOffset();
|
||||||
}
|
}
|
||||||
if (pauseTime > -1) // returning from pause screen
|
if (pauseTime > -1) // returning from pause screen
|
||||||
trackPosition = pauseTime;
|
trackPosition = pauseTime;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user