balance team on player join

This commit is contained in:
2023-08-14 18:54:36 +02:00
parent dbe91b52fd
commit d1aa5cd8aa
3 changed files with 9 additions and 0 deletions

View File

@@ -115,6 +115,8 @@ void ServerConnexion::HandlePacket(const protocol::PlayerLoginPacket* packet) {
protocol::PlayerListPacket listPacket(playerNames);
SendPacket(&listPacket);
m_Server->GetGame().NotifyListeners(&game::GameListener::OnPlayerJoin, m_ID);
}
}