now i added the right file instead

This commit is contained in:
jenz
2023-02-23 01:12:50 +01:00
parent ae65307c64
commit 1c29510d95
2 changed files with 7 additions and 502 deletions
@@ -768,8 +768,15 @@ bool PopulateNominateListMenu(Menu menu, int client, const char[] filter = "")
if(!filter[0] || StrContains(map, filter, false) != -1)
{
//admin nominations must have most votes shrug
//this should work assuming that admin map nominations always fill the beginning of MapList uniquely
int owner = GetArrayCell(OwnerList, i);
int nominate_count_for_particular_map = 0;
sm.GetValue(map, nominate_count_for_particular_map);
if(!owner)
{
nominate_count_for_particular_map = 999;
}
sm.SetValue(map, nominate_count_for_particular_map + 1, true);
}
}