mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
Fix some compilation errors
This commit is contained in:
parent
598a3bea24
commit
19e6029fb2
|
@ -3046,7 +3046,6 @@ class PlayState extends MusicBeatSubState
|
||||||
GameOverSubState.reset();
|
GameOverSubState.reset();
|
||||||
PauseSubState.reset();
|
PauseSubState.reset();
|
||||||
Countdown.reset();
|
Countdown.reset();
|
||||||
PopUpStuff.reset();
|
|
||||||
|
|
||||||
// Clear the static reference to this state.
|
// Clear the static reference to this state.
|
||||||
instance = null;
|
instance = null;
|
||||||
|
|
|
@ -125,13 +125,4 @@ class PopUpStuff extends FlxTypedGroup<FunkinSprite>
|
||||||
daLoop++;
|
daLoop++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Reset the popup configuration to the default.
|
|
||||||
*/
|
|
||||||
public static function reset()
|
|
||||||
{
|
|
||||||
noteStyle = NoteStyleRegistry.instance.fetchDefault();
|
|
||||||
isPixel = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ class DebugBoundingState extends FlxState
|
||||||
{
|
{
|
||||||
// get the screen position, according to the HUD camera, temp default to FlxG.camera juuust in case?
|
// get the screen position, according to the HUD camera, temp default to FlxG.camera juuust in case?
|
||||||
var hudMousePos:FlxPoint = FlxG.mouse.getScreenPosition(hudCam ?? FlxG.camera);
|
var hudMousePos:FlxPoint = FlxG.mouse.getScreenPosition(hudCam ?? FlxG.camera);
|
||||||
return Screen.instance.hasSolidComponentUnderPoint(hudMousePos.x, hudMousePos.y) || FlxG.mouse.overlaps(animDropDownMenu, hudCam);
|
return Screen.instance.hasSolidComponentUnderPoint(hudMousePos.x, hudMousePos.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
override function create()
|
override function create()
|
||||||
|
|
Loading…
Reference in a new issue