give new edits unique names
This commit is contained in:
@@ -176,11 +176,11 @@ Steps *StepsID::ToSteps( const Song *p, bool bAllowNull, bool bUseCache ) const
|
||||
Steps *ret = NULL;
|
||||
if( dc == DIFFICULTY_EDIT )
|
||||
{
|
||||
ret = p->GetSteps( st, dc, -1, -1, sDescription, uHash, true );
|
||||
ret = p->GetOneSteps( st, dc, -1, -1, sDescription, uHash, true );
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = p->GetSteps( st, dc, -1, -1, "", 0, true );
|
||||
ret = p->GetOneSteps( st, dc, -1, -1, "", 0, true );
|
||||
}
|
||||
|
||||
if( !bAllowNull && ret == NULL )
|
||||
|
||||
Reference in New Issue
Block a user