Skip to content

Commit ebd2c1f

Browse files
author
Jiang Yin
committed
修改代码表达式
1 parent e31f45b commit ebd2c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/Editor/AssetBundleBuilder/AssetBundleBuilderController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ private byte[] GetXorBytes(byte[] bytes, byte[] code, int length)
15331533
for (int i = 0; i < length; i++)
15341534
{
15351535
result[i] ^= code[codeIndex++];
1536-
codeIndex = codeIndex % codeLength;
1536+
codeIndex %= codeLength;
15371537
}
15381538

15391539
return result;

0 commit comments

Comments
 (0)