minor cleanup

This commit is contained in:
2017-07-11 18:04:40 -05:00
parent 897f802885
commit f1b0a2b20e
4 changed files with 7 additions and 9 deletions

View File

@@ -69,7 +69,7 @@ public class GamePlayMap {
/**
* use this to add rest for current index position
*/
public void addRestToMap() {
public void addNullToMap() {
if (building) {
spawnList.add(null);
}

View File

@@ -67,8 +67,9 @@ public class RhythmMapAlgorithm implements Runnable {
speedMod*(Polyjet.GAME_AREA_HEIGHT/3)/avgBPS);
}
}
} else {
map.addRestToMap();
map.addNullToMap();
}
progress = (int) (100f*index/bassPeaks.size);