From a653c8aefaabc0b1c54a7622fb339a08f0b5eb83 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Tue, 17 Jan 2023 21:23:32 +0100 Subject: [PATCH] woops --- buildnumber.txt | 2 +- source/funkin/game/Character.hx | 2 +- source/funkin/utils/MemoryUtil.hx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildnumber.txt b/buildnumber.txt index 2a55d550..40a31ff8 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -2070 \ No newline at end of file +2071 \ No newline at end of file diff --git a/source/funkin/game/Character.hx b/source/funkin/game/Character.hx index 0d3bf134..4dec02b4 100644 --- a/source/funkin/game/Character.hx +++ b/source/funkin/game/Character.hx @@ -109,7 +109,7 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset if (charXML == null) throw new Exception("Missing \"character\" node in XML."); xml = new Access(charXML); } catch(e) { - trace(e); + Logs.trace('Error while loading character ${curCharacter}: ${e}', ERROR); curCharacter = "bf"; continue; } diff --git a/source/funkin/utils/MemoryUtil.hx b/source/funkin/utils/MemoryUtil.hx index 4e6e57dd..e056d050 100644 --- a/source/funkin/utils/MemoryUtil.hx +++ b/source/funkin/utils/MemoryUtil.hx @@ -61,7 +61,7 @@ class MemoryUtil { public static function destroyFlixelZombies() { #if cpp - Gc.enterGCFreeZone(); + // Gc.enterGCFreeZone(); while ((_zombie = Gc.getNextZombie()) != null) { _nb++; @@ -72,7 +72,7 @@ class MemoryUtil { } Sys.println('Zombies: ${_nb}; IFlxDestroyable Zombies: ${_nbD}'); - Gc.exitGCFreeZone(); + // Gc.exitGCFreeZone(); #end } } \ No newline at end of file