diff --git a/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd b/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd index d52e8d84..123e5aac 100644 --- a/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd +++ b/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd @@ -291,7 +291,6 @@ func readString() -> String: return EMPTY buffer.seek(readOffset) var value: String = buffer.get_utf8_string(length) - var strBytes: PackedByteArray = value.to_utf8_buffer() readOffset += length return value