This commit is contained in:
Micrah
2019-12-15 06:48:36 +11:00
committed by GitHub
parent 0cf297dc33
commit fc8ac5974f

View File

@@ -10,6 +10,7 @@
#include "World.h"
#include "LFGMgr.h"
#include "Chat.h"
#include "Opcodes.h"
class lfg_solo : public PlayerScript
{
@@ -19,12 +20,12 @@ public:
void OnLogin(Player* player)
{
if (sConfigMgr->GetIntDefault("LFG.SoloMode", true))
{
if (!sLFGMgr->IsSoloLFG())
{
if (!sLFGMgr->IsSoloLFG())
{
sLFGMgr->ToggleSoloLFG();
}
}
}
}
};