From fad3656c7b7c20c65cd33e4662bdffd5f194437a Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Wed, 1 Apr 2020 16:18:46 -0400 Subject: [PATCH] No menu until canVote --- Classic/scripts/LakRabbitGame.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classic/scripts/LakRabbitGame.cs b/Classic/scripts/LakRabbitGame.cs index 1743c90..a9a00e5 100644 --- a/Classic/scripts/LakRabbitGame.cs +++ b/Classic/scripts/LakRabbitGame.cs @@ -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)