From 852883aa82c5cb31f901f977afad808389a57707 Mon Sep 17 00:00:00 2001 From: tiennm5 Date: Mon, 19 Jun 2023 13:45:24 +0700 Subject: [PATCH] [Protocol, Gdscript] (Fix) wrong writeIntLongMap --- protocol/src/main/resources/gdscript/buffer/ByteBuffer.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():