mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-25 11:04:45 +00:00
Took out
This commit is contained in:
parent
7da510530e
commit
c8a2205caa
|
|
@ -171,11 +171,6 @@ function DefaultGame::sendGameVoteMenu(%game, %client, %key)
|
|||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Disable PUG Password', 'Disable PUG Password');
|
||||
else
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Enable PUG Password', 'Enable PUG Password');
|
||||
|
||||
if(!$IFFColors)
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'ToggleIFFColors', 'Enable Alt IFF Colors', 'Enable Alt IFF Colors');
|
||||
else
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'ToggleIFFColors', 'Disable Alt IFF Colors', 'Disable Alt IFF Colors');
|
||||
}
|
||||
// if(%multipleTeams)
|
||||
// {
|
||||
|
|
@ -547,27 +542,7 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
|||
adminLog(%client, " has enabled Net Tourney Client checking.");
|
||||
}
|
||||
}
|
||||
return;
|
||||
case "ToggleIFFColors":
|
||||
if (%client.isAdmin && $Host::TournamentMode)
|
||||
{
|
||||
if(!$IFFColors)
|
||||
{
|
||||
// Red Green Blue Alpha - may need some fine tuning
|
||||
setSensorGroupColor(0, 1 << 1, "0 0 255 255");
|
||||
setSensorGroupColor(0, 1 << 2, "255 0 0 255");
|
||||
$IFFColors = 1;
|
||||
messageClient( %client, '', "Alternate IFF Colors have been enabled. (This will Reset after every match)~wfx/powered/vehicle_screen_on.wav" );
|
||||
}
|
||||
else
|
||||
{
|
||||
// Red Green Blue Alpha - may need some fine tuning
|
||||
setSensorGroupColor(0, 1 << 1, "0 255 0 255");
|
||||
setSensorGroupColor(0, 1 << 2, "255 0 0 255");
|
||||
$IFFColors = 0;
|
||||
messageClient( %client, '', "Alternate IFF Colors have been disabled.~wfx/powered/vehicle_screen_on.wav" );
|
||||
}
|
||||
}
|
||||
return;
|
||||
case "ForceVote":
|
||||
if (%client.isAdmin && $Host::AllowAdminVotes)
|
||||
{
|
||||
|
|
@ -705,10 +680,6 @@ function DefaultGame::gameOver(%game)
|
|||
|
||||
//Reset ClassicMaxMapChangeVotes
|
||||
deleteVariables("$CMHasVoted*"); // Eolk - let people who have voted vote again
|
||||
|
||||
//Reset IFF Colors
|
||||
if($IFFColors)
|
||||
$IFFColors = 0;
|
||||
}
|
||||
|
||||
function DefaultGame::cancelMatchStart(%game, %admin)
|
||||
|
|
|
|||
Loading…
Reference in a new issue