Add Skip_Confirm

This commit is contained in:
ChocoTaco 2025-01-11 16:50:20 -05:00
parent fd58608f9e
commit c7335a3826
3 changed files with 33 additions and 10 deletions

View file

@ -1170,10 +1170,14 @@ function LakRabbitGame::sendGameVoteMenu( %game, %client, %key )
%isAdmin = ( %client.isAdmin || %client.isSuperAdmin );
if(!%client.canVote && !%isAdmin)
return;
return;
if( %game.scheduleVote $= "" )
{
//echo(%client.ForceVote);
if(%client.ForceVote $= "skip_confirm")
return;
if(!%isAdmin || (%isAdmin && %client.ForceVote))
{
if(!Game.duelMode)