From 3cd60e063392e0c35545adf2e871b8a6be22e728 Mon Sep 17 00:00:00 2001 From: Mordred Date: Tue, 21 Feb 2023 14:32:52 +0100 Subject: [PATCH] Also subscribe fcmanager to the login event --- src/world/WorldServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/world/WorldServer.cpp b/src/world/WorldServer.cpp index de44e126..9c148e3b 100644 --- a/src/world/WorldServer.cpp +++ b/src/world/WorldServer.cpp @@ -313,6 +313,7 @@ void WorldServer::run( int32_t argc, char* argv[] ) Common::Service< Manager::TaskMgr >::set( taskMgr ); dispatcher->subscribe( Common::EventSystem::LoginEvent::descriptor, std::bind( &Manager::PlayerMgr::handleEvent, pPlayerMgr, std::placeholders::_1 ) ); + dispatcher->subscribe( Common::EventSystem::LoginEvent::descriptor, std::bind( &Manager::FreeCompanyMgr::handleEvent, pFcMgr, std::placeholders::_1 ) ); Logger::info( "World server running on {0}:{1}", m_ip, m_port );