[Server] Implicitly join to "Default" channel

sol2-server-rewrite
Koncord 7 years ago
parent aa183e6844
commit 91398c5dcc

@ -123,6 +123,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
if (packet->data[0] == ID_LOADED)
{
player->setLoadState(Player::LOADED);
player->joinToChannel(0, "Default");
bool result = luaState.getEventCtrl().Call<CoreEvent::ON_PLAYER_CONNECT, bool>(player);

Loading…
Cancel
Save