added lucky, highscore fix??

This commit is contained in:
Brandon
2020-11-10 12:52:49 -05:00
parent 40f0edf18e
commit 127d4f4cb4
3 changed files with 22 additions and 2 deletions

View File

@ -4,7 +4,11 @@ import flixel.FlxG;
class Highscore
{
#if (haxe >= "4.0.0")
public static var songScores:Map<String, Int> = new Map();
#else
public static var songScores:Map<String, Int> = new Map<String, Int>();
#end
public static function saveScore(song:String, score:Int = 0, ?diff:Int = 0):Void
{