Skip to content

Commit

Permalink
fix: Also remove capitalized 'defeated' text from objective names
Browse files Browse the repository at this point in the history
  • Loading branch information
happenslol committed Aug 12, 2024
1 parent 5e2ab17 commit 6d5d171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ function WarpDeplete:GetObjectivesInfo()
if not name then break end

name = gsub(name, " defeated", "")
name = gsub(name, " Defeated", "")
self:PrintDebug("Got boss name for index " .. i .. ": " .. tostring(name))
objectives[i] = { name = name, time = completed and 0 or nil }
end
Expand Down

0 comments on commit 6d5d171

Please sign in to comment.