From 0844ea44813456760fdd4a04cb7f8bf440f2e7b9 Mon Sep 17 00:00:00 2001 From: NeeEoo Date: Fri, 13 Oct 2023 15:10:23 +0200 Subject: [PATCH] Fix graphic destroying (EXPERIMENTAL) --- project.xml | 2 ++ source/funkin/game/PlayState.hx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/project.xml b/project.xml index 6155a799..5e4aaa8a 100644 --- a/project.xml +++ b/project.xml @@ -169,6 +169,8 @@ + + diff --git a/source/funkin/game/PlayState.hx b/source/funkin/game/PlayState.hx index ac0d77d4..634e0581 100644 --- a/source/funkin/game/PlayState.hx +++ b/source/funkin/game/PlayState.hx @@ -1527,7 +1527,7 @@ class PlayState extends MusicBeatState rating.velocity.y -= FlxG.random.int(140, 175); rating.velocity.x -= FlxG.random.int(0, 10); if (evt != null) { - rating.scale.set(evt.ratingScale,evt.ratingScale); + rating.scale.set(evt.ratingScale, evt.ratingScale); rating.antialiasing = evt.ratingAntialiasing; } rating.updateHitbox(); @@ -1543,7 +1543,7 @@ class PlayState extends MusicBeatState public function displayCombo(?evt:NoteHitEvent = null):Void { var pre:String = evt != null ? evt.ratingPrefix : ""; var suf:String = evt != null ? evt.ratingSuffix : ""; - + var separatedScore:String = Std.string(combo).addZeros(3); if (combo == 0 || combo >= 10) {