mini fix
This commit is contained in:
parent
3e705f724b
commit
e00352d8a0
@ -2008,6 +2008,7 @@ public int Native_InitiateVote(Handle plugin, int numParams)
|
||||
|
||||
SetupWarningTimer(WarningType_Vote, when, inputarray);
|
||||
//InitiateVote(when, inputarray);
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int Native_CanVoteStart(Handle plugin, int numParams)
|
||||
@ -2029,7 +2030,7 @@ public int Native_GetExcludeMapList(Handle plugin, int numParams)
|
||||
{
|
||||
Handle array = view_as<Handle>(GetNativeCell(1));
|
||||
if(array == INVALID_HANDLE)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
static char map[PLATFORM_MAX_PATH];
|
||||
StringMapSnapshot OldMapListSnapshot = g_OldMapList.Snapshot();
|
||||
@ -2039,6 +2040,7 @@ public int Native_GetExcludeMapList(Handle plugin, int numParams)
|
||||
PushArrayString(array, map);
|
||||
}
|
||||
delete OldMapListSnapshot;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//GetNominatedMapList
|
||||
@ -2048,7 +2050,7 @@ public int Native_GetNominatedMapList(Handle plugin, int numParams)
|
||||
Handle ownerarray = view_as<Handle>(GetNativeCell(2));
|
||||
|
||||
if(maparray == INVALID_HANDLE)
|
||||
return;
|
||||
return 0;
|
||||
|
||||
static char map[PLATFORM_MAX_PATH];
|
||||
CheckMapRestrictions(true, true);
|
||||
@ -2071,6 +2073,7 @@ public int Native_GetNominatedMapList(Handle plugin, int numParams)
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Functions new to Mapchooser Extended
|
||||
@ -2539,6 +2542,7 @@ public int Native_AreRestrictionsActive(Handle plugin, int numParams)
|
||||
public int Native_SimulateMapEnd(Handle plugin, int numParams)
|
||||
{
|
||||
OnMapEnd();
|
||||
return 0;
|
||||
}
|
||||
|
||||
stock void AddMapItem(const char[] map)
|
||||
|
Loading…
Reference in New Issue
Block a user