mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-22 12:55:13 -04:00
Add #if FLX_DEBUG in TrackerUtil
`Tracker.addProfile` only exists when FLX_DEBUG is set, so add this conditional check to fix non-debug builds.
This commit is contained in:
parent
1fe554e24e
commit
69b28ca42c
1 changed files with 2 additions and 0 deletions
|
@ -17,7 +17,9 @@ class TrackerUtil
|
||||||
*/
|
*/
|
||||||
public static function initTrackers():Void
|
public static function initTrackers():Void
|
||||||
{
|
{
|
||||||
|
#if FLX_DEBUG
|
||||||
Tracker.addProfile(new TrackerProfile(Highscore, ["tallies"]));
|
Tracker.addProfile(new TrackerProfile(Highscore, ["tallies"]));
|
||||||
FlxG.console.registerClass(Highscore);
|
FlxG.console.registerClass(Highscore);
|
||||||
|
#end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue