mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-18 22:14:37 +00: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
|
@ -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