Block gagged players from nominating
This commit is contained in:
parent
7d5f7f0362
commit
380b53ddc5
@ -39,6 +39,7 @@
|
|||||||
#include <mapchooser>
|
#include <mapchooser>
|
||||||
#include <mapchooser_extended>
|
#include <mapchooser_extended>
|
||||||
#include <multicolors>
|
#include <multicolors>
|
||||||
|
#include <basecomm>
|
||||||
|
|
||||||
#define MCE_VERSION "1.13.0"
|
#define MCE_VERSION "1.13.0"
|
||||||
|
|
||||||
@ -846,6 +847,9 @@ public int Handler_MapSelectMenu(Menu menu, MenuAction action, int param1, int p
|
|||||||
|
|
||||||
stock bool IsNominateAllowed(int client)
|
stock bool IsNominateAllowed(int client)
|
||||||
{
|
{
|
||||||
|
if(BaseComm_IsClientGagged(client))
|
||||||
|
return false;
|
||||||
|
|
||||||
CanNominateResult result = CanNominate();
|
CanNominateResult result = CanNominate();
|
||||||
|
|
||||||
switch(result)
|
switch(result)
|
||||||
|
Loading…
Reference in New Issue
Block a user