force break end when next object shows
This commit is contained in:
parent
5f9f68c6e8
commit
915728ec24
|
@ -865,7 +865,7 @@ public class Game extends BasicGameState {
|
||||||
if (beatmap.breaks != null && breakIndex < beatmap.breaks.size()) {
|
if (beatmap.breaks != null && breakIndex < beatmap.breaks.size()) {
|
||||||
int breakValue = beatmap.breaks.get(breakIndex);
|
int breakValue = beatmap.breaks.get(breakIndex);
|
||||||
if (breakTime > 0) { // in a break period
|
if (breakTime > 0) { // in a break period
|
||||||
if (trackPosition < breakValue)
|
if (trackPosition < breakValue && trackPosition < beatmap.objects[objectIndex].getTime() - approachTime)
|
||||||
return;
|
return;
|
||||||
else {
|
else {
|
||||||
// break is over
|
// break is over
|
||||||
|
|
Loading…
Reference in New Issue
Block a user