Fix wrong singleton instance check during disconnect

meow-7.2.2
Ansariel 2020-10-22 22:39:27 +02:00
parent bc908f194a
commit 53e5347117
1 changed files with 4 additions and 1 deletions

View File

@ -6239,7 +6239,10 @@ void LLAppViewer::disconnectViewer()
}
// <FS:Ansariel>
if (LLSelectMgr::getInstance())
// <FS:Ansariel> Wrong instance check
//if (LLSelectMgr::getInstance())
if (LLSelectMgr::instanceExists())
// </FS:Ansariel
{
LLSelectMgr::getInstance()->deselectAll();
}