diff --git a/include/packets/PlayerConnect.h b/include/packets/PlayerConnect.h index 52acbea..f3ea37c 100644 --- a/include/packets/PlayerConnect.h +++ b/include/packets/PlayerConnect.h @@ -2,9 +2,11 @@ #include "Packet.h" +#include + struct PACKED PlayerConnect : Packet { PlayerConnect() : Packet() {this->mType = PacketType::PLAYERCON; mPacketSize = sizeof(PlayerConnect) - sizeof(Packet);}; ConnectionTypes conType; - u16 maxPlayerCount; + u16 maxPlayerCount = USHRT_MAX; char clientName[COSTUMEBUFSIZE] = {}; }; \ No newline at end of file