This commit is contained in:
Micrah
2019-04-29 16:10:21 +10:00
parent 9d0a77265e
commit 681de176df
14 changed files with 0 additions and 1036 deletions

View File

@@ -1,32 +0,0 @@
/*
** Made by Traesh https://github.com/Traesh
** AzerothCore 2019 http://www.azerothcore.org/
** Made into a module by Micrah https://github.com/milestorme/
*/
#include "Config.h"
#include "World.h"
#include "LFGMgr.h"
#include "Chat.h"
class spp_lfg_solo : public PlayerScript
{
public:
spp_lfg_solo() : PlayerScript("spp_lfg_solo") { }
void OnLogin(Player* player, bool /*loginFirst*/)
{
if (sConfigMgr->GetBoolDefault("LFG.SoloMode", true))
{
if (!sLFGMgr->IsTesting())
{
sLFGMgr->ToggleTesting();
}
}
}
};
void AddSC_LFG_SoloModeScripts()
{
new spp_lfg_solo;
}