mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-02-24 00:13:35 +00:00
Rewrite
Was a mess
This commit is contained in:
parent
cf28a6d2de
commit
90e191ddd9
2 changed files with 38 additions and 30 deletions
|
|
@ -198,10 +198,13 @@ function DefaultGame::sendGameVoteMenu(%game, %client, %key)
|
|||
//PUG Password
|
||||
if(%client.isAdmin && $Host::TournamentMode)
|
||||
{
|
||||
if($Host::Password !$= "")
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Disable PUG Password', 'Disable PUG Password');
|
||||
else
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Enable PUG Password', 'Enable PUG Password');
|
||||
if(!$Host::PUGpasswordAlwaysOn) //Password is already set
|
||||
{
|
||||
if($Host::Password !$= "")
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Disable PUG Password', 'Disable PUG Password');
|
||||
else
|
||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Enable PUG Password', 'Enable PUG Password');
|
||||
}
|
||||
}
|
||||
//Locked Teams
|
||||
if(%client.isAdmin && $Host::TournamentMode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue