No menu until canVote

This commit is contained in:
ChocoTaco1 2020-04-01 16:18:46 -04:00
parent 678b9d5708
commit fad3656c7b

View file

@ -1063,6 +1063,9 @@ function LakRabbitGame::sendGameVoteMenu( %game, %client, %key )
%isAdmin = ( %client.isAdmin || %client.isSuperAdmin );
if(!%client.canVote && !%isAdmin)
return;
if( %game.scheduleVote $= "" )
{
if(!%isAdmin)