Allow spaces in noteskin names. (#1493)

This commit is contained in:
Kyzentun
2017-07-13 17:59:38 -07:00
committed by MrThatKid
parent 4c9f06c693
commit 05a58a69bd
+7
View File
@@ -1060,6 +1060,13 @@ bool PlayerOptions::FromOneModString( const RString &sOneMod, RString &sErrorOut
// end of the list
else
{
// Maybe the original string is a noteskin name with a space. -Kyz
RString name= sOneMod;
name.MakeLower();
if(NOTESKIN && NOTESKIN->DoesNoteSkinExist(name))
{
m_sNoteSkin = name;
}
return false;
}