from retail

This commit is contained in:
Bunny67
2020-07-11 22:51:04 +03:00
parent 1fab884928
commit f95aaa696b
10 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ local WA_Utf8Sub = function(input, size)
-- Add any bytes that are part of the sequence
while (true) do
local byte = input:byte(i)
if byte >= 128 and byte < 192 then
if byte and byte >= 128 and byte < 192 then
output = output .. input:sub(i, i)
else
break