* [ScreenSelectMaster] Now updates choices on player join; will move the scroller to the correct location, but the GainFocus/LoseFocus commands don't seem to work yet.
This commit is contained in:
@@ -334,6 +334,16 @@ void ScreenSelectMaster::HandleScreenMessage( const ScreenMessage SM )
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenSelectMaster::HandleMessage( const Message &msg )
|
||||
{
|
||||
if ( msg == Message_PlayerJoined )
|
||||
{
|
||||
UpdateSelectableChoices();
|
||||
}
|
||||
|
||||
ScreenSelect::HandleMessage( msg );
|
||||
}
|
||||
|
||||
int ScreenSelectMaster::GetSelectionIndex( PlayerNumber pn )
|
||||
{
|
||||
return m_iChoice[pn];
|
||||
|
||||
Reference in New Issue
Block a user