From be6c1d41fd2554dcfab0b4d0aa38fa08ed81f713 Mon Sep 17 00:00:00 2001 From: Bernhard Saumweber Date: Thu, 15 Jun 2023 23:31:56 +0200 Subject: [PATCH] Remove unused function --- Modules/Util.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Modules/Util.lua b/Modules/Util.lua index 227161c..960328c 100644 --- a/Modules/Util.lua +++ b/Modules/Util.lua @@ -124,17 +124,6 @@ function PGF.Table_Median(tbl) end end ---- Removes all lines starting with a comment (--) from the given string. -function PGF.RemoveCommentLines(exp) - local result = "" - for line in exp:gmatch("([^\n]+)") do -- split by newline and skip empty lines - if not line:match("^%s*%-%-") then -- if not comment line - result = result .. " " .. line - end - end - return result -end - function PGF.IsMostLikelySameInstance(instanceName, activityName) -- instanceName is just the dungeon's name used in the lockout and challenge mode APIs, e.g. 'The Emerald Nightmare' local instanceNameLower = instanceName:lower()