mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
parent
833e3640b4
commit
4ad0f61a00
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue