chore(glue): tweak style

This commit is contained in:
fallenoak 2025-10-08 21:23:06 -05:00 committed by GitHub
parent eb90ee3dcd
commit dad9ccc033
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,11 +90,13 @@ float CalculateAspectRatio() {
}
void CGlueMgr::CancelRealmListQuery() {
if (CGlueMgr::m_idleState == IDLE_REALM_LIST) {
ClientServices::Connection()->Cancel(2);
CGlueMgr::SetIdleState(IDLE_NONE);
if (CGlueMgr::m_idleState != IDLE_REALM_LIST) {
return;
}
ClientServices::Connection()->Cancel(2);
CGlueMgr::SetIdleState(IDLE_NONE);
}
void CGlueMgr::ChangeRealm(const REALM_INFO* realmInfo) {