Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbs committed Jul 2, 2023
1 parent 860de9e commit be6c1d4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Modules/Util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit be6c1d4

Please sign in to comment.