fix unresponsive START in ScreenGameOver and ScreenMusicScroll
This commit is contained in:
@@ -218,8 +218,11 @@ bool GameState::IsPlayerEnabled( PlayerNumber pn )
|
|||||||
if( GAMESTATE->m_bIsOnSystemMenu ) // if no style set (we're in TitleMenu, ConfigInstruments or something)
|
if( GAMESTATE->m_bIsOnSystemMenu ) // if no style set (we're in TitleMenu, ConfigInstruments or something)
|
||||||
return true; // allow input from both sides
|
return true; // allow input from both sides
|
||||||
|
|
||||||
if( m_CurStyle == STYLE_INVALID )
|
if( m_CurStyle == STYLE_INVALID ) // no style chosen
|
||||||
return m_bSideIsJoined[pn];
|
if( this->m_bPlayersCanJoin )
|
||||||
|
return m_bSideIsJoined[pn]; // only allow input from sides that have already joined
|
||||||
|
else
|
||||||
|
return true; // if we can't join, then we're on a screen like MusicScroll or GameOver
|
||||||
|
|
||||||
switch( GetCurrentStyleDef()->m_StyleType )
|
switch( GetCurrentStyleDef()->m_StyleType )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user