Update Highscore.hx
This commit is contained in:
parent
d53b4a70ed
commit
673ed0d7fd
@ -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…
x
Reference in New Issue
Block a user