Skip to content

Commit

Permalink
update enet protocol.c
Browse files Browse the repository at this point in the history
  • Loading branch information
JadlionHD committed Jun 25, 2023
1 parent 2c61df7 commit 9996d8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ enet_protocol_send_outgoing_commands (ENetHost * host, ENetEvent * event, int ch

newHeader -> integrity [0] = ENET_HOST_TO_NET_16 (randomAroundPort);
newHeader -> integrity [1] = ENET_HOST_TO_NET_16 (randomAroundPort ^ port);
newHeader -> integrity [2] = ENET_HOST_TO_NET_16 (enet_host_random (host) & 0x67DA | 0x9005);
newHeader -> integrity [2] = ENET_HOST_TO_NET_16 (enet_host_random (host) & 0x61D2 | 0x920D);
}

for (int sendPass = 0, continueSending = 0; sendPass <= continueSending; ++ sendPass)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "growtopia.js",
"version": "1.2.2",
"version": "1.2.3",
"description": "A package to create a growtopia private servers.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 9996d8c

Please sign in to comment.