Skip to content

Commit 4b6a0f4

Browse files
committed
fix: avoid reference unused folder resource
1 parent e2cee26 commit 4b6a0f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RszTool/RszFile/RszUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void CheckResouce(string path)
7373
// avoid reference unused resource
7474
if (instance.RszClass.name == "via.Folder")
7575
{
76-
if (instance.GetFieldValue("v4") is false) continue;
76+
if (instance.GetFieldValue("v4") is (byte)0) continue;
7777
}
7878
for (int j = 0; j < fields.Length; j++)
7979
{

0 commit comments

Comments
 (0)