diff --git a/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd b/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd index b8669330..c57b15cf 100644 --- a/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd +++ b/protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd @@ -469,7 +469,7 @@ func writeIntLongMap(map): else: writeInt(map.size()) for key in map: - writeInt(map) + writeInt(key) writeLong(map[key]) func readIntLongMap():