Fixed string getting cut off if the string had some symbols. The length of the string would not be the same as the bytes length.
This commit is contained in:
@@ -207,7 +207,7 @@ namespace Game
|
||||
case WardenCheckType.MPQ:
|
||||
case WardenCheckType.LuaStr:
|
||||
case WardenCheckType.Driver:
|
||||
buffer.WriteUInt8(wd.Str.Length);
|
||||
buffer.WriteUInt8(wd.Str.GetByteCount());
|
||||
buffer.WriteString(wd.Str);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user