1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-31 22:45:33 +00:00

[Server] Implicitly join to "Default" channel

This commit is contained in:
Koncord 2017-12-08 20:35:19 +08:00
parent aa183e6844
commit 91398c5dcc

View file

@ -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);