One loop.
This commit is contained in:
@@ -271,11 +271,11 @@ void PlayerOptions::FromString( const RString &sMultipleMods )
|
|||||||
vector<RString> vs;
|
vector<RString> vs;
|
||||||
split( sTemp, ",", vs, true );
|
split( sTemp, ",", vs, true );
|
||||||
RString sThrowAway;
|
RString sThrowAway;
|
||||||
FOREACH( RString, vs, s )
|
for (RString &s : vs)
|
||||||
{
|
{
|
||||||
if (!FromOneModString( *s, sThrowAway ))
|
if (!FromOneModString( s, sThrowAway ))
|
||||||
{
|
{
|
||||||
LOG->Trace( "Attempted to load a non-existing mod \'%s\' for the Player. Ignoring.", (*s).c_str() );
|
LOG->Trace( "Attempted to load a non-existing mod \'%s\' for the Player. Ignoring.", s.c_str() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user