From 692e7746483daeed34ba5b169c6902ef54fd7d53 Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Sun, 12 Jun 2022 10:38:43 -0400 Subject: [PATCH] Comment out No voting for AntiTurtleTime --- Classic/scripts/CTFGame.cs | 62 +++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Classic/scripts/CTFGame.cs b/Classic/scripts/CTFGame.cs index db28732..6e5061a 100755 --- a/Classic/scripts/CTFGame.cs +++ b/Classic/scripts/CTFGame.cs @@ -2093,39 +2093,39 @@ function CTFGame::startFlagCollisionSearch(%game, %flag) // VOTING /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////// -function CTFGame::sendGameVoteMenu(%game, %client, %key) -{ - DefaultGame::sendGameVoteMenu(%game, %client, %key); - if ( %game.scheduleVote $= "" ) - { - //if(%client.isAdmin) - //messageClient( %client, 'MsgVoteItem', "", %key, 'VoteAntiTurtleTime', 'change the anti turtle time to', 'Change Anti-Turtle time' ); - //else - // messageClient( %client, 'MsgVoteItem', "", %key, 'VoteAntiTurtleTime', 'change the anti turtle time to', 'Vote Anti-Turtle time' ); - } -} +// function CTFGame::sendGameVoteMenu(%game, %client, %key) +// { +// DefaultGame::sendGameVoteMenu(%game, %client, %key); +// if ( %game.scheduleVote $= "" ) +// { +// if(%client.isAdmin) +// messageClient( %client, 'MsgVoteItem', "", %key, 'VoteAntiTurtleTime', 'change the anti turtle time to', 'Change Anti-Turtle time' ); +// else +// messageClient( %client, 'MsgVoteItem', "", %key, 'VoteAntiTurtleTime', 'change the anti turtle time to', 'Vote Anti-Turtle time' ); +// } +// } -function CTFGame::evalVote(%game, %typeName, %admin, %arg1, %arg2, %arg3, %arg4) -{ - DefaultGame::evalVote(%game, %typeName, %admin, %arg1, %arg2, %arg3, %arg4); - switch$ (%typeName) - { - case "voteAntiTurtleTime": - %game.voteAntiTurtleTime(%admin, %arg1, %arg2, %arg3, %arg4); - } -} +// function CTFGame::evalVote(%game, %typeName, %admin, %arg1, %arg2, %arg3, %arg4) +// { +// DefaultGame::evalVote(%game, %typeName, %admin, %arg1, %arg2, %arg3, %arg4); +// switch$ (%typeName) +// { +// case "voteAntiTurtleTime": +// %game.voteAntiTurtleTime(%admin, %arg1, %arg2, %arg3, %arg4); +// } +// } -function CTFGame::sendAntiTurtleTimeList( %game, %client, %key ) -{ - messageClient( %client, 'MsgVoteItem', "", %key, 6, "", '6 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 8, "", '8 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 10, "", '10 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 12, "", '12 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 14, "", '14 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 16, "", '16 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 18, "", '18 minutes' ); - messageClient( %client, 'MsgVoteItem', "", %key, 200, "", 'Disable Anti Turtle' ); -} +// function CTFGame::sendAntiTurtleTimeList( %game, %client, %key ) +// { +// messageClient( %client, 'MsgVoteItem', "", %key, 6, "", '6 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 8, "", '8 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 10, "", '10 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 12, "", '12 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 14, "", '14 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 16, "", '16 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 18, "", '18 minutes' ); +// messageClient( %client, 'MsgVoteItem', "", %key, 200, "", 'Disable Anti Turtle' ); +// } function CTFGame::voteAntiTurtleTime(%game, %admin, %newLimit) {