forked from teamnwah/openmw-tes3coop
[Server] Implicitly join to "Default" channel
This commit is contained in:
parent
aa183e6844
commit
91398c5dcc
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
||||||
if (packet->data[0] == ID_LOADED)
|
if (packet->data[0] == ID_LOADED)
|
||||||
{
|
{
|
||||||
player->setLoadState(Player::LOADED);
|
player->setLoadState(Player::LOADED);
|
||||||
|
player->joinToChannel(0, "Default");
|
||||||
|
|
||||||
bool result = luaState.getEventCtrl().Call<CoreEvent::ON_PLAYER_CONNECT, bool>(player);
|
bool result = luaState.getEventCtrl().Call<CoreEvent::ON_PLAYER_CONNECT, bool>(player);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue