Skip to content

Commit

Permalink
ecostats: forgot to copy local widget over
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruwetuin committed Mar 12, 2024
1 parent 4c827c5 commit faede9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions luaui/Widgets/gui_ecostats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ local function setAllyData(allyID)

if not allyData[index]["isAlive"] and cfgRemoveDead then
allyData[index] = nil
guishaderRects['ecostats_' .. allyID] = nil
if WG['guishader'] and guishaderRectsDlists['ecostats_' .. allyID] then
WG['guishader'].DeleteDlist('ecostats_' .. allyID)
guishaderRectsDlists['ecostats_' .. allyID] = nil
Expand Down Expand Up @@ -545,6 +546,7 @@ local function removeGuiShaderRects()
if isTeamReal(aID) and (aID == GetMyAllyTeamID() or inSpecMode) and aID ~= gaiaAllyID then
WG['guishader'].DeleteDlist('ecostats_' .. aID)
guishaderRectsDlists['ecostats_' .. aID] = nil
guishaderRects['ecostats_' .. aID] = nil
end
end
end
Expand Down

0 comments on commit faede9e

Please sign in to comment.