diff --git a/src/Classes/BuildListControl.lua b/src/Classes/BuildListControl.lua index 8fb418df2d..0d9838b022 100644 --- a/src/Classes/BuildListControl.lua +++ b/src/Classes/BuildListControl.lua @@ -163,7 +163,7 @@ function BuildListClass:DeleteBuild(build) if build.folderName then if NewFileSearch(build.fullFileName.."/*") or NewFileSearch(build.fullFileName.."/*", true) then main:OpenConfirmPopup("Confirm Folder Delete", "The folder is not empty.\nAre you sure you want to delete folder:\n"..build.folderName.."\nThis cannot be undone.", "Delete", function() - deleteDirectory(build.fullFileName:gsub("\\", "/")) + deleteDirectory(build.fullFileName) self.listMode:BuildList() self.selIndex = nil self.selValue = nil