- bugfix for texture loading in mod menu
This commit is contained in:
parent
93a92e9dee
commit
b99d37c02c
|
@ -1465,6 +1465,7 @@ void MenuStateMods::showDesription(const ModInfo *modInfo) {
|
|||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("### modInfo->imageUrl [%s]\n",modInfo->imageUrl.c_str());
|
||||
|
||||
if(modInfo->imageUrl != "") {
|
||||
cleanupPreviewTexture();
|
||||
string tempImage = getPreviewImageFileForMod(modInfo);
|
||||
if(tempImage != "" && fileExists(tempImage) == false) {
|
||||
ftpClientThread->addFileToRequests(tempImage,modInfo->imageUrl);
|
||||
|
|
Loading…
Reference in New Issue