clear maplists on /rehash to except overflow https://github.com/pvpgn/pvpgn-server/issues/429
This commit is contained in:
parent
f707680980
commit
d778abc615
1 changed files with 10 additions and 1 deletions
|
@ -379,7 +379,16 @@ namespace pvpgn
|
|||
|
||||
extern void anongame_tournament_maplists_destroy(void)
|
||||
{
|
||||
return; /* nothing to destroy */
|
||||
int j;
|
||||
|
||||
// reset
|
||||
for (j = 0; j < ANONGAME_TYPES; j++) {
|
||||
maplists_war3[j][0] = 0;
|
||||
maplists_w3xp[j][0] = 0;
|
||||
maplists_yuri[j][0] = 0;
|
||||
maplists_ral2[j][0] = 0;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue