mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Took out
This commit is contained in:
parent
2aa74e7609
commit
0393f2522b
|
|
@ -97,7 +97,6 @@ function DefaultGame::sendGameVoteMenu(%game, %client, %key)
|
|||
{
|
||||
if(%client.isSuperAdmin || (%client.isAdmin && $Host::AllowAdminStopVote)) // allow admins to stop votes
|
||||
messageClient( %client, 'MsgVoteItem', "", %key, 'stopRunningVote', 'stop current vote', 'Stop the Vote');
|
||||
|
||||
if(%client.isSuperAdmin || (%client.isAdmin && $Host::AllowAdminPassVote)) // allow admins to pass votes
|
||||
messageClient( %client, 'MsgVoteItem', "", %key, 'passRunningVote', 'pass current vote', 'Pass the Vote');
|
||||
return;
|
||||
|
|
@ -1510,7 +1509,7 @@ function GameConnection::onDrop(%client, %reason)
|
|||
Parent::onDrop(%client, %reason);
|
||||
|
||||
//Reset SetNextMission
|
||||
if($HostGamePlayerCount - $HostGameBotCount == 0 && $Host::AllowPlayerVoteNextMission && $voteNext)
|
||||
if($HostGamePlayerCount - $HostGameBotCount == 0 && $voteNext)
|
||||
{
|
||||
echo("No clients on the server. Set next mission reset...");
|
||||
$voteNext = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue