fix(server): update playerId type in UnoServer lambda

This commit is contained in:
Kieran Kihn
2025-12-09 17:10:17 +08:00
parent f968b4d3f2
commit 6ab5550fd3

View File

@@ -10,7 +10,7 @@
namespace UNO::SERVER {
UnoServer::UnoServer(uint16_t port) :
networkServer_(port, [this](int playerId, const std::string &message) { this->handlePlayerMessage(playerId, message); }),
networkServer_(port, [this](size_t playerId, const std::string &message) { this->handlePlayerMessage(playerId, message); }),
playerCount(0)
{
}