mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-26 14:05:25 +00:00
Add Skip_Confirm
This commit is contained in:
parent
fd58608f9e
commit
c7335a3826
3 changed files with 33 additions and 10 deletions
|
|
@ -838,6 +838,10 @@ function DMGame::sendGameVoteMenu(%game, %client, %key)
|
|||
|
||||
if(%game.scheduleVote $= "")
|
||||
{
|
||||
//echo(%client.ForceVote);
|
||||
if(%client.ForceVote $= "skip_confirm")
|
||||
return;
|
||||
|
||||
if(!%isAdmin || (%isAdmin && %client.ForceVote))
|
||||
{
|
||||
if(!$Host::DMSLOnlyMode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue