1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-15 11:22:55 +00:00

fix develop branch cuz git is on crack

This commit is contained in:
Til Tjardes 2024-09-22 17:59:18 -06:00
parent 3ef238a2f6
commit cca997b724
3 changed files with 1 additions and 11 deletions

View file

@ -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;

View file

@ -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;
}
} }

View file

@ -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()