diff --git a/project.hxp b/project.hxp index 20cfa339e..0e7064015 100644 --- a/project.hxp +++ b/project.hxp @@ -796,7 +796,7 @@ class Project extends HXProject // FEATURE_FUNKVIS.apply(this, true); - FEATURE_LOG_TRACE.apply(this, true); + FEATURE_LOG_TRACE.apply(this, false); FEATURE_NAUGHTYNESS.apply(this, true); FEATURE_OPEN_URL.apply(this, true); FEATURE_PARTIAL_SOUNDS.apply(this, true); @@ -888,6 +888,11 @@ class Project extends HXProject setHaxedef("FLX_NO_DEBUG"); } + if (FEATURE_LOG_TRACE.isDisabled(this)) + { + setHaxeFlag("--no-traces"); + } + // Disable the built in pause screen when unfocusing the game. setHaxedef("FLX_NO_FOCUS_LOST_SCREEN"); diff --git a/source/funkin/util/logging/AnsiTrace.hx b/source/funkin/util/logging/AnsiTrace.hx index ff6545e1c..22f9d9af5 100644 --- a/source/funkin/util/logging/AnsiTrace.hx +++ b/source/funkin/util/logging/AnsiTrace.hx @@ -10,9 +10,6 @@ class AnsiTrace */ public static function trace(v:Dynamic, ?info:haxe.PosInfos) { - #if (NO_FEATURE_LOG_TRACE && !FEATURE_DEBUG_FUNCTIONS) - return; - #end var str = formatOutput(v, info); #if FEATURE_DEBUG_TRACY cpp.vm.tracy.TracyProfiler.message(str, flixel.util.FlxColor.WHITE);