- 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:
Parnic
2010-12-14 00:18:40 +00:00
parent fd70b3df82
commit ea4ff748f3

View File

@ -1467,7 +1467,7 @@ function IceBarElement.prototype:RepositionMarkers()
end
function IceBarElement.prototype:ClearMarkers()
for idx=1,#self.Markers do
for idx=#self.Markers,1,-1 do
self:RemoveMarker(idx, true)
end
end