From fa29ce01739353b28d8f8fc61fd9a1fb549196c1 Mon Sep 17 00:00:00 2001 From: HackDev <80620538+Hackx2@users.noreply.github.com> Date: Sat, 29 Jun 2024 16:08:33 +0100 Subject: [PATCH] L: --- TODO.md | 3 +-- source/funkin/game/Main.hx | 10 ++-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/TODO.md b/TODO.md index bdd0117..728a018 100644 --- a/TODO.md +++ b/TODO.md @@ -2,8 +2,7 @@ * ~~finish Init State.~~ * Finsh Video Handler State -* add winning icon support :3c - +* OLD: * Might add winning icons (only if i can get the icons for them :3) * if you're winning the discord rpc will change diff --git a/source/funkin/game/Main.hx b/source/funkin/game/Main.hx index 1c43299..4f7ac39 100644 --- a/source/funkin/game/Main.hx +++ b/source/funkin/game/Main.hx @@ -50,9 +50,7 @@ class Main extends Sprite public static function exitOn(?type:Int = 0, ?traceE:Bool = false) { - if (traceE) - trace('Exited at ${Date.now().toString()}'); - + if (traceE) trace('Exited at ${Date.now().toString()}'); Sys.exit(type); } @@ -108,15 +106,11 @@ class Main extends Sprite #end #if html5 - FlxG.autoPause = false; - FlxG.mouse.visible = false; + FlxG.autoPause = FlxG.mouse.visible = false; #end #if CRASH_HANDLER Lib.current.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, CrashHandler.onCrash); #end } - - // Code was entirely made by sqirra-rng for their fnf engine named "Izzy Engine", big props to them!!! - // very cool person for real they don't get enough credit for their work }