Remove MAPLIST_FLAG_NO_DEFAULT
misuses (#870)
These two base plugins are using the MAPLIST_FLAG_NO_DEFAULT when they shouldn't, which causes much user (and SM developer) confusion as it is completely counter to the documentation.
This commit is contained in:
parent
17700e45b0
commit
caf0914289
@ -133,7 +133,7 @@ int LoadMapList(Menu menu)
|
||||
if ((map_array = ReadMapList(g_map_array,
|
||||
g_map_serial,
|
||||
"sm_map menu",
|
||||
MAPLIST_FLAG_CLEARARRAY|MAPLIST_FLAG_NO_DEFAULT|MAPLIST_FLAG_MAPSFOLDER))
|
||||
MAPLIST_FLAG_CLEARARRAY|MAPLIST_FLAG_MAPSFOLDER))
|
||||
!= null)
|
||||
{
|
||||
g_map_array = map_array;
|
||||
|
@ -274,7 +274,7 @@ int LoadMapList(Menu menu)
|
||||
if ((map_array = ReadMapList(g_map_array,
|
||||
g_map_serial,
|
||||
"sm_votemap menu",
|
||||
MAPLIST_FLAG_CLEARARRAY|MAPLIST_FLAG_NO_DEFAULT|MAPLIST_FLAG_MAPSFOLDER))
|
||||
MAPLIST_FLAG_CLEARARRAY|MAPLIST_FLAG_MAPSFOLDER))
|
||||
!= null)
|
||||
{
|
||||
g_map_array = map_array;
|
||||
|
Loading…
Reference in New Issue
Block a user