call base ScreenOptions::Init after handling forceallplayers
This commit is contained in:
@@ -33,8 +33,6 @@ ScreenOptionsMaster::ScreenOptionsMaster( CString sClassName ):
|
||||
|
||||
void ScreenOptionsMaster::Init()
|
||||
{
|
||||
ScreenOptions::Init();
|
||||
|
||||
CStringArray asLineNames;
|
||||
split( LINE_NAMES, ",", asLineNames );
|
||||
if( asLineNames.empty() )
|
||||
@@ -69,6 +67,9 @@ void ScreenOptionsMaster::Init()
|
||||
RageException::Throw( "Unknown flag \"%s\"", sFlag.c_str() );
|
||||
}
|
||||
|
||||
// Call this after enabling players, if any.
|
||||
ScreenOptions::Init();
|
||||
|
||||
vector<OptionRowDefinition> OptionRowDefs;
|
||||
OptionRowDefs.resize( asLineNames.size() );
|
||||
OptionRowHandlers.resize( asLineNames.size() );
|
||||
|
||||
Reference in New Issue
Block a user