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;