Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Stilic committed Sep 24, 2024
1 parent 3ef238a commit 2de7b94
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
9 changes: 1 addition & 8 deletions hmm.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@
"ref": "61b98a7a353b7f529a8fec84ed9afc919a2dffdd",
"url": "https://github.com/FunkinCrew/hxCodec"
},
{
"name": "hxcpp",
"type": "git",
"dir": null,
"ref": "904ea40643b050a5a154c5e4c33a83fd2aec18b1",
"url": "https://github.com/HaxeFoundation/hxcpp"
},
{
"name": "hxcpp-debug-server",
"type": "git",
Expand Down Expand Up @@ -145,7 +138,7 @@
"name": "lime",
"type": "git",
"dir": null,
"ref": "fe3368f611a84a19afc03011353945ae4da8fffd",
"ref": "872ff6db2f2d27c0243d4ff76802121ded550dd7",
"url": "https://github.com/FunkinCrew/lime"
},
{
Expand Down
1 change: 0 additions & 1 deletion source/funkin/play/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3046,7 +3046,6 @@ class PlayState extends MusicBeatSubState
GameOverSubState.reset();
PauseSubState.reset();
Countdown.reset();
PopUpStuff.reset();

// Clear the static reference to this state.
instance = null;
Expand Down
11 changes: 1 addition & 10 deletions source/funkin/play/components/PopUpStuff.hx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class PopUpStuff extends FlxTypedGroup<FunkinSprite>
});
}

public function displayCombo(combo:Int = 0):Void
public function displayCombo(combo:Int = 0)
{
var seperatedScore:Array<Int> = [];
var tempCombo:Int = combo;
Expand Down Expand Up @@ -125,13 +125,4 @@ class PopUpStuff extends FlxTypedGroup<FunkinSprite>
daLoop++;
}
}

/**
* Reset the popup configuration to the default.
*/
public static function reset()
{
noteStyle = NoteStyleRegistry.instance.fetchDefault();
isPixel = false;
}
}
2 changes: 1 addition & 1 deletion source/funkin/ui/debug/anim/DebugBoundingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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?
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()
Expand Down

0 comments on commit 2de7b94

Please sign in to comment.