Small fix
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
2654
|
||||
2655
|
||||
@@ -1012,9 +1012,7 @@ class PlayState extends MusicBeatState
|
||||
FlxG.switchState(new GitarooPause());
|
||||
}
|
||||
else {
|
||||
var point:FlxPoint = boyfriend != null ? boyfriend.getScreenPosition() : FlxPoint.get();
|
||||
openSubState(new PauseSubState(point.x, point.y));
|
||||
point.put();
|
||||
openSubState(new PauseSubState());
|
||||
}
|
||||
|
||||
updateDiscordPresence();
|
||||
|
||||
@@ -31,9 +31,13 @@ class PauseSubState extends MusicBeatSubstate
|
||||
|
||||
private var __cancelDefault:Bool = false;
|
||||
|
||||
public function new(x:Float, y:Float)
|
||||
{
|
||||
public function new(x:Float = 0, y:Float = 0) {
|
||||
super();
|
||||
}
|
||||
|
||||
override function create()
|
||||
{
|
||||
super.create();
|
||||
|
||||
pauseScript = Script.create(Paths.script(script));
|
||||
pauseScript.setParent(this);
|
||||
|
||||
Reference in New Issue
Block a user