mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-11 22:57:31 +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);
|
var daSong:String = formatSong(song, diff);
|
||||||
|
|
||||||
|
#if !switch
|
||||||
NGio.postScore(score, song);
|
NGio.postScore(score, song);
|
||||||
|
#end
|
||||||
|
|
||||||
if (songScores.exists(daSong))
|
if (songScores.exists(daSong))
|
||||||
{
|
{
|
||||||
|
@ -23,7 +25,9 @@ class Highscore
|
||||||
|
|
||||||
public static function saveWeekScore(week:Int = 1, score:Int = 0, ?diff:Int = 0):Void
|
public static function saveWeekScore(week:Int = 1, score:Int = 0, ?diff:Int = 0):Void
|
||||||
{
|
{
|
||||||
|
#if !switch
|
||||||
NGio.postScore(score, "Week " + week);
|
NGio.postScore(score, "Week " + week);
|
||||||
|
#end
|
||||||
|
|
||||||
var daWeek:String = formatSong('week' + week, diff);
|
var daWeek:String = formatSong('week' + week, diff);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue