From ce1ec6579f08f57b217b8123cd2fe5f33e17147f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=8D=9A=7ENex?= <87421482+NexIsDumb@users.noreply.github.com> Date: Mon, 7 Jul 2025 01:57:24 +0200 Subject: [PATCH] =?UTF-8?q?why=20was=20this=20edited=20@YoshiCrafter29=20?= =?UTF-8?q?=3F=3F=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/funkin/backend/utils/CoolUtil.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/backend/utils/CoolUtil.hx b/source/funkin/backend/utils/CoolUtil.hx index 5f7f6351..b72003c0 100644 --- a/source/funkin/backend/utils/CoolUtil.hx +++ b/source/funkin/backend/utils/CoolUtil.hx @@ -172,7 +172,7 @@ class CoolUtil addMissingFolders(Path.directory(path)); var result = NativeAPI.addFileAttributes(path, attrib, useAbsolute); - if(result != 0) Logs.trace('Failed to add attributes to $path with a code of: $result', WARNING); + if (result == 0) Logs.trace('Failed to add attributes to $path with a code of: $result', WARNING); return result; #else return 0;