1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-02-01 01:26:55 +00:00

Merge branch 'rewrite/master' into rewrite/bugfix/pause-and-results-fixes

This commit is contained in:
Cameron Taylor 2023-10-17 19:02:36 -04:00
commit 7cfbd0ca0f

View file

@ -2463,9 +2463,9 @@ class PlayState extends MusicBeatSubState
accuracy: Highscore.tallies.totalNotesHit / Highscore.tallies.totalNotes, accuracy: Highscore.tallies.totalNotesHit / Highscore.tallies.totalNotes,
}; };
if (Save.get().isLevelHighScore(PlayStatePlaylist.campaignId, currentDifficulty, data)) if (Save.get().isLevelHighScore(PlayStatePlaylist.campaignId, PlayStatePlaylist.campaignDifficulty, data))
{ {
Save.get().setLevelScore(PlayStatePlaylist.campaignId, currentDifficulty, data); Save.get().setLevelScore(PlayStatePlaylist.campaignId, PlayStatePlaylist.campaignDifficulty, data);
#if newgrounds #if newgrounds
NGio.postScore(score, 'Level ${PlayStatePlaylist.campaignId}'); NGio.postScore(score, 'Level ${PlayStatePlaylist.campaignId}');
#end #end