Skip to content

Commit

Permalink
Traverse intarray properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantumplation committed Dec 10, 2024
1 parent 7f28b57 commit 10dec4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/HydraMultiplayer/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function encodePackets(packets: Packet[]): string {
to: BigInt(data.to),
from: BigInt(data.from),
ephemeralKey: toHex(data.ephemeralKey),
kills: data.kills.map((k) => BigInt(k)),
kills: Array.from(data.kills).map((k) => BigInt(k)),
data: toHex(data.data),
},
DatumPacket,
Expand Down

0 comments on commit 10dec4b

Please sign in to comment.