We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 126eb63 commit fdb412cCopy full SHA for fdb412c
modules/SideBarMixin.lua
@@ -877,8 +877,8 @@ function SideBarMixin:RemoveAllLoadoutsByOwner(owner)
877
local dataProvider = self.DataProvider;
878
--- @type TLM_SideBarDataProviderEntry[]
879
local elements = dataProvider:GetCollection();
880
- for _, v in ipairs(elements) do
881
- if v.data.isBlizzardLoadout and not v.data.playerIsOwner then
+ for _, v in pairs(elements) do
+ if v.data.isBlizzardLoadout and owner == v.data.owner then
882
GlobalAPI:RemoveLoadoutFromStorage(v.data.id);
883
end
884
0 commit comments