fix autolockchallengesteps doesn't work unless UnlockNames isn't empty
This commit is contained in:
@@ -382,8 +382,6 @@ void UnlockManager::Load()
|
|||||||
|
|
||||||
vector<RString> asUnlockNames;
|
vector<RString> asUnlockNames;
|
||||||
split( UNLOCK_NAMES, ",", asUnlockNames );
|
split( UNLOCK_NAMES, ",", asUnlockNames );
|
||||||
if( asUnlockNames.empty() )
|
|
||||||
return;
|
|
||||||
|
|
||||||
for( unsigned i = 0; i < asUnlockNames.size(); ++i )
|
for( unsigned i = 0; i < asUnlockNames.size(); ++i )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user