mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 07:04:33 +00:00
Add Skip_Confirm
This commit is contained in:
parent
fd58608f9e
commit
c7335a3826
3 changed files with 33 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue