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:
parent
7062391e70
commit
4c0186f5fb
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue