mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-04 19:09:23 +00:00
Le stupid fix
This commit is contained in:
parent
9f78aa4620
commit
713d89565b
1 changed files with 2 additions and 2 deletions
|
@ -198,8 +198,8 @@ namespace ml_pah
|
||||||
static void LimitEntries()
|
static void LimitEntries()
|
||||||
{
|
{
|
||||||
int l_currentLimit = Settings.AvatarsLimit;
|
int l_currentLimit = Settings.AvatarsLimit;
|
||||||
if(ms_avatarEntries.Count > l_currentLimit)
|
while(ms_avatarEntries.Count > l_currentLimit)
|
||||||
ms_avatarEntries.RemoveRange(l_currentLimit, ms_avatarEntries.Count - (l_currentLimit - 1));
|
ms_avatarEntries.RemoveAt(ms_avatarEntries.Count - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue