Log if a mod isn't loaded for some reason.

This commit is contained in:
Jason Felds
2011-05-27 10:42:47 -04:00
parent 6b4703d2ed
commit 283afa4687
+4 -1
View File
@@ -263,7 +263,10 @@ void PlayerOptions::FromString( const RString &sMultipleMods )
RString sThrowAway; RString sThrowAway;
FOREACH( RString, vs, s ) FOREACH( RString, vs, s )
{ {
FromOneModString( *s, sThrowAway ); if (!FromOneModString( *s, sThrowAway ))
{
LOG->Trace( "Attempted to load a non-existing mod %s for the Player. Ignoring.", s );
}
} }
} }