Skip to content

Commit

Permalink
fix: avoid reference unused folder resource
Browse files Browse the repository at this point in the history
  • Loading branch information
czastack committed Apr 12, 2024
1 parent e2cee26 commit 4b6a0f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RszTool/RszFile/RszUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void CheckResouce(string path)
// avoid reference unused resource
if (instance.RszClass.name == "via.Folder")
{
if (instance.GetFieldValue("v4") is false) continue;
if (instance.GetFieldValue("v4") is (byte)0) continue;
}
for (int j = 0; j < fields.Length; j++)
{
Expand Down

0 comments on commit 4b6a0f4

Please sign in to comment.