more small cleanups
This commit is contained in:
parent
2ae438ced2
commit
f92270fa22
|
@ -1485,7 +1485,7 @@ public class Game extends ComplexOpsuState {
|
||||||
|
|
||||||
super.enter();
|
super.enter();
|
||||||
|
|
||||||
File replaydir = new File("d:/Users/Robin/games/osu/osr-stuff-master/furioso/");
|
File replaydir = new File("d:/Users/Robin/games/osu/osr-stuff-master/xi/");
|
||||||
if (!replaydir.exists()) {
|
if (!replaydir.exists()) {
|
||||||
bubNotifs.sendf(Colors.BUB_RED, "replay folder '%s' does not exist", replaydir.getAbsolutePath());
|
bubNotifs.sendf(Colors.BUB_RED, "replay folder '%s' does not exist", replaydir.getAbsolutePath());
|
||||||
displayContainer.switchStateInstantly(songMenuState);
|
displayContainer.switchStateInstantly(songMenuState);
|
||||||
|
|
|
@ -129,9 +129,7 @@ public class ReplayCursor
|
||||||
public void setCursorPosition(int delta, int mouseX, int mouseY) {
|
public void setCursorPosition(int delta, int mouseX, int mouseY) {
|
||||||
nowtime = System.currentTimeMillis();
|
nowtime = System.currentTimeMillis();
|
||||||
|
|
||||||
if ((lastPosition.x == 0 && lastPosition.y == 0) || !addCursorPoints(lastPosition.x, lastPosition.y, mouseX, mouseY)) {
|
addCursorPoints(lastPosition.x, lastPosition.y, mouseX, mouseY);
|
||||||
//trail.add(new Trailpart(mouseX, mouseY));
|
|
||||||
}
|
|
||||||
lastPosition.move(mouseX, mouseY);
|
lastPosition.move(mouseX, mouseY);
|
||||||
|
|
||||||
int removecount = 0;
|
int removecount = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user