mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed an error when changing from a profile with markers on a module to one with fewer/no markers on the same module
This commit is contained in:
@ -1467,7 +1467,7 @@ function IceBarElement.prototype:RepositionMarkers()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function IceBarElement.prototype:ClearMarkers()
|
function IceBarElement.prototype:ClearMarkers()
|
||||||
for idx=1,#self.Markers do
|
for idx=#self.Markers,1,-1 do
|
||||||
self:RemoveMarker(idx, true)
|
self:RemoveMarker(idx, true)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user