From a6b204fad2b5c0d07ead11902548a2dccaa43604 Mon Sep 17 00:00:00 2001 From: Programmist Date: Fri, 16 Aug 2024 15:23:39 +0300 Subject: [PATCH] obsolete gsub removed --- src/Classes/BuildListControl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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