Adding a 's' to the addons type when removing it directory, it is data/kart, not data/karts ^^
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
58637fb82a
commit
c6b5ba2e76
@ -390,7 +390,7 @@ void Addons::UnInstall()
|
||||
//write the xml file with the informations about installed karts
|
||||
this->SaveInstalled();
|
||||
std::string dest_file = file_manager->getAddonsDir() + "/" + "data" + "/" +
|
||||
this->m_addons_list[this->index].type + "/" +
|
||||
this->m_addons_list[this->index].type + "s/" +
|
||||
this->m_addons_list[this->index].name + "/";
|
||||
|
||||
//remove the addons directory
|
||||
|
Loading…
Reference in New Issue
Block a user