mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
fix(server): update playerId type in UnoServer lambda
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user