summaryrefslogtreecommitdiff
path: root/packets/equippable_item_information.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-15 16:53:12 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-15 16:53:12 +0100
commit75793bd23d275d10d6a0bd8024a7e412b64557ce (patch)
treeeef8145a645a88c718a4004e3a5e5f8f7700fa47 /packets/equippable_item_information.gd
parenta14e88ff4d0d87841a44254e2bff1784da6e8b48 (diff)
next commit
Diffstat (limited to 'packets/equippable_item_information.gd')
-rw-r--r--packets/equippable_item_information.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/packets/equippable_item_information.gd b/packets/equippable_item_information.gd
index 32c04e1..517297b 100644
--- a/packets/equippable_item_information.gd
+++ b/packets/equippable_item_information.gd
@@ -91,7 +91,7 @@ static func from_bytes(bytes: ByteStream):
static func array_from_bytes(bytes: ByteStream) -> Array[EquippableItemInformation]:
var array: Array[EquippableItemInformation] = []
- while bytes.available():
+ while bytes.available() > 0:
var chunk = from_bytes(bytes)
array.append(chunk)