Use default room name color if bogus status code is received
This commit is contained in:
@@ -268,6 +268,9 @@ void ScreenNetRoom::UpdateRoomsList()
|
|||||||
case 2:
|
case 2:
|
||||||
m_RoomList[i].SetDiffuseColor (THEME->GetMetricC( m_sName, "InGameRoomColor"));
|
m_RoomList[i].SetDiffuseColor (THEME->GetMetricC( m_sName, "InGameRoomColor"));
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
m_RoomList[i].SetDiffuseColor (THEME->GetMetricC( m_sName, "OpenRoomColor"));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
this->AddChild( &m_RoomList[i] );
|
this->AddChild( &m_RoomList[i] );
|
||||||
if (cy > ROOMLOWERBOUND)
|
if (cy > ROOMLOWERBOUND)
|
||||||
|
|||||||
Reference in New Issue
Block a user