Revert "Fix skin prefix search crash"

This reverts commit 1270434f5e.
This commit is contained in:
def 2020-09-20 01:49:58 +02:00
parent 833e3640b4
commit 4ad0f61a00

View file

@ -257,11 +257,7 @@ int CSkins::FindImpl(const char *pName)
return -1;
}
int DefaultIndex = CSkins::FindImpl("default");
// if default fails don't start any download
if(DefaultIndex == -1)
return -1;
int DefaultIndex = CSkins::Find("default");
CDownloadSkin Skin;
str_copy(Skin.m_aName, pName, sizeof(Skin.m_aName));