Skip to content

Commit

Permalink
Fixed issue with not finding useless green timing
Browse files Browse the repository at this point in the history
  • Loading branch information
dudehacker committed Jan 21, 2020
1 parent 32b8a0a commit 7c9f8d5
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/osu/beatmap/timing/Timing.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ public int compare(Timing tp1, Timing tp2) {
};

public boolean isUnused(Timing previousTiming) {
if (offset != previousTiming.offset) {
// time
return false;
}

if (!isInherited()) {
// red
return false;
Expand Down Expand Up @@ -117,10 +112,7 @@ public boolean isUnused(Timing previousTiming) {
if (kiai != previousTiming.kiai) {
return false;
}
System.out.println("this " + isInherited());
System.out.println("previous " + previousTiming.isInherited());

return (previousTiming.isInherited());
return true;
}

public boolean isInherited() {
Expand Down

0 comments on commit 7c9f8d5

Please sign in to comment.