fix opsu not being able to start
This commit is contained in:
parent
f06c285d22
commit
366eda0310
|
@ -23,6 +23,7 @@ import itdelatrisu.opsu.GameImage;
|
||||||
import itdelatrisu.opsu.Opsu;
|
import itdelatrisu.opsu.Opsu;
|
||||||
import itdelatrisu.opsu.Options;
|
import itdelatrisu.opsu.Options;
|
||||||
import itdelatrisu.opsu.Utils;
|
import itdelatrisu.opsu.Utils;
|
||||||
|
import itdelatrisu.opsu.audio.MusicController;
|
||||||
import itdelatrisu.opsu.skins.Skin;
|
import itdelatrisu.opsu.skins.Skin;
|
||||||
import itdelatrisu.opsu.ui.animations.AnimationEquation;
|
import itdelatrisu.opsu.ui.animations.AnimationEquation;
|
||||||
|
|
||||||
|
@ -328,9 +329,11 @@ public class Cursor {
|
||||||
public void resetLocations() {
|
public void resetLocations() {
|
||||||
lastPosition = new Point(0, 0);
|
lastPosition = new Point(0, 0);
|
||||||
trail.clear();
|
trail.clear();
|
||||||
|
if (MusicController.getBeatmap() != null) {
|
||||||
setCursorPosition(-1000, -1000);
|
setCursorPosition(-1000, -1000);
|
||||||
setCursorPosition(0, 0);
|
setCursorPosition(0, 0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether or not the cursor is skinned.
|
* Returns whether or not the cursor is skinned.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user