forked from UNLOZE/sm-plugins
minor fixes to errors mentioned
This commit is contained in:
@@ -1878,6 +1878,15 @@ NominateResult InternalNominateMap(char[] map, int owner)
|
||||
}
|
||||
}
|
||||
|
||||
if (g_NominateList[owner] == INVALID_HANDLE)
|
||||
{
|
||||
if (IsClientConnected(owner) && IsClientInGame(owner))
|
||||
{
|
||||
ReplyToCommand(owner, "This should be invalid.");
|
||||
}
|
||||
return Nominate_InvalidMap;
|
||||
}
|
||||
|
||||
PushArrayString(g_NominateList[owner], map);
|
||||
PushArrayCell(g_NominateOwners, owner); //maybe i only want to do this for the first nomination of each client
|
||||
if(owner == 0 && g_NominateReservedCount < GetVoteSize(1))
|
||||
|
||||
Reference in New Issue
Block a user