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

@ -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)