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

Update Highscore.hx

This commit is contained in:
Brandon 2020-11-06 21:59:51 -05:00
parent 7062391e70
commit 4c0186f5fb

View file

@ -10,7 +10,9 @@ class Highscore
{
var daSong:String = formatSong(song, diff);
#if !switch
NGio.postScore(score, song);
#end
if (songScores.exists(daSong))
{
@ -23,7 +25,9 @@ class Highscore
public static function saveWeekScore(week:Int = 1, score:Int = 0, ?diff:Int = 0):Void
{
#if !switch
NGio.postScore(score, "Week " + week);
#end
var daWeek:String = formatSong('week' + week, diff);