From f72457aa1dc4d03c4954f9ee9e4547b628d67d36 Mon Sep 17 00:00:00 2001 From: Edoardo Lolletti Date: Sat, 12 Aug 2023 09:44:48 +0200 Subject: [PATCH] Fix OnSelectCounter --- Game/GameBehavior.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Game/GameBehavior.cs b/Game/GameBehavior.cs index 6b5cff49..1bdd4799 100644 --- a/Game/GameBehavior.cs +++ b/Game/GameBehavior.cs @@ -1212,7 +1212,7 @@ private void OnSelectCounter(BinaryReader packet) IList cards = new List(); IList counters = new List(); - int count = packet.ReadByte(); + int count = packet.ReadInt32(); for (int i = 0; i < count; ++i) { packet.ReadInt32(); // card id