Disable "DEBUG"-level OpenFL messages to avoid logspam from shader stuff.

This commit is contained in:
EliteMasterEric
2025-12-22 20:07:36 -06:00
committed by Abnormal
parent b2d7e0a681
commit c25c784feb
+4
View File
@@ -62,6 +62,10 @@ class Main extends Sprite
haxe.Log.trace = funkin.util.logging.AnsiTrace.trace;
funkin.util.logging.AnsiTrace.traceBF();
// Get OpenFL to stop complaining so much.
// You can remove this line if you want to read debug messages.
openfl.utils._internal.Log.level = openfl.utils._internal.Log.LogLevel.INFO;
// Load mods to override assets.
// TODO: Replace with loadEnabledMods() once the user can configure the mod list.
funkin.modding.PolymodHandler.loadAllMods();