diff --git a/credits.txt b/credits.txt index 978ec6ab..caef8317 100644 --- a/credits.txt +++ b/credits.txt @@ -8,6 +8,7 @@ Developers: Contributors: AloXado320 + Amy54Desu anzz1 Avery Cameron Hall diff --git a/src/pc/network/packets/packet_join.c b/src/pc/network/packets/packet_join.c index 81c4b911..ec17aee7 100644 --- a/src/pc/network/packets/packet_join.c +++ b/src/pc/network/packets/packet_join.c @@ -67,7 +67,7 @@ void network_send_join(struct Packet* joinRequestPacket) { // figure out id u8 globalIndex = joinRequestPacket->localIndex; if (globalIndex == UNKNOWN_LOCAL_INDEX) { - for (int i = 1; i < configAmountofPlayers; i++) { + for (u32 i = 1; i < configAmountofPlayers; i++) { if (!gNetworkPlayers[i].connected) { globalIndex = i; break;