From 6480465d510ba6915b20a7b3ab33308d062bdb43 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sun, 11 May 2025 11:26:40 +0200 Subject: [PATCH] Failed to add attributes?? --- source/funkin/backend/utils/CoolUtil.hx | 2 +- source/funkin/editors/charter/SongCreationScreen.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/backend/utils/CoolUtil.hx b/source/funkin/backend/utils/CoolUtil.hx index 29765e6d..b7bcfffa 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; diff --git a/source/funkin/editors/charter/SongCreationScreen.hx b/source/funkin/editors/charter/SongCreationScreen.hx index 33cc4a73..9b85b058 100644 --- a/source/funkin/editors/charter/SongCreationScreen.hx +++ b/source/funkin/editors/charter/SongCreationScreen.hx @@ -7,7 +7,7 @@ import funkin.backend.chart.ChartData; import funkin.backend.chart.FNFLegacyParser.SwagSong; import funkin.backend.chart.PsychParser; import funkin.backend.chart.VSliceParser; -import funkin.backend.utils.ZipUtil; +import funkin.backend.utils.ZipUtil.ZipReader; import funkin.game.HealthIcon; import haxe.Json; import haxe.io.Bytes;