Fixed crash due to encoding error while patching a certain always.dat

This commit is contained in:
2022-02-05 10:56:24 -06:00
parent d709e86e14
commit ff1ffca3c5

View File

@@ -177,7 +177,7 @@ class W3DHub
@file.pos = @last_chunk * @buffer_size
@file.write(string)
@buffer.string = ""
@buffer.string = "".force_encoding(@encoding)
end
def string