mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05: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
|
||||
{
|
||||
#if FLX_DEBUG
|
||||
Tracker.addProfile(new TrackerProfile(Highscore, ["tallies"]));
|
||||
FlxG.console.registerClass(Highscore);
|
||||
#end
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue