From 11da19ce1e685f4249d32c42d7a41b7d2cf53a4b Mon Sep 17 00:00:00 2001 From: Abnormal <86753001+AbnormalPoof@users.noreply.github.com> Date: Wed, 9 Jul 2025 06:36:12 -0500 Subject: [PATCH] zack got pissed off about this in vc so im making a pr for this --- project.hxp | 7 ++++++- source/funkin/util/logging/AnsiTrace.hx | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) 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);