Only go through the enabled players.

This commit is contained in:
Jason Felds
2011-07-06 22:22:13 -04:00
parent db231b086c
commit c44e861df1
+1 -1
View File
@@ -711,7 +711,7 @@ void GameState::BeginStage()
if( !ARE_STAGE_PLAYER_MODS_FORCED ) if( !ARE_STAGE_PLAYER_MODS_FORCED )
{ {
FOREACH_PlayerNumber( p ) FOREACH_EnabledPlayer( p )
{ {
ModsGroup<PlayerOptions> &po = m_pPlayerState[p]->m_PlayerOptions; ModsGroup<PlayerOptions> &po = m_pPlayerState[p]->m_PlayerOptions;
po.Assign(ModsLevel_Stage, po.Assign(ModsLevel_Stage,