From 89b16b73a67ceffc8013dd97657b312f24b7924e Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sun, 18 Dec 2022 00:37:20 +0100 Subject: [PATCH] i eat optimisation for a living --- buildnumber.txt | 2 +- source/funkin/system/Main.hx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildnumber.txt b/buildnumber.txt index 75fe09e0..68bcf6a3 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1544 \ No newline at end of file +1546 \ No newline at end of file diff --git a/source/funkin/system/Main.hx b/source/funkin/system/Main.hx index c5eb3d39..e7dfad85 100644 --- a/source/funkin/system/Main.hx +++ b/source/funkin/system/Main.hx @@ -224,6 +224,8 @@ class Main extends Sprite Paths.assetsTree.clearCache(); - + #if cpp + cpp.vm.Gc.run(true); + #end } }