From fc8ac5974fe866c80fd873fb666fc69fe769e462 Mon Sep 17 00:00:00 2001 From: Micrah <44911744+milestorme@users.noreply.github.com> Date: Sun, 15 Dec 2019 06:48:36 +1100 Subject: [PATCH] update --- src/Lfg_Solo.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Lfg_Solo.cpp b/src/Lfg_Solo.cpp index a312686..1cd5853 100644 --- a/src/Lfg_Solo.cpp +++ b/src/Lfg_Solo.cpp @@ -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(); + } } - } } };