mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-13 00:20:40 +00:00
Added sound and updates
This commit is contained in:
parent
a74d72f5e5
commit
715fa822a6
2 changed files with 4 additions and 7 deletions
|
|
@ -27,18 +27,15 @@ function DefaultGame::checkTimeLimit(%game, %forced)
|
|||
%game.timeLimitReached();
|
||||
|
||||
//Reset Everything to do with Vote Overtime
|
||||
$VoteInProgress = false;
|
||||
$TimeLimitChanged = false;
|
||||
$VoteInProgressMessege = false;
|
||||
$VoteSoundInProgress = false;
|
||||
}
|
||||
//Moved to function DefaultGame::gameOver in DefaultGame.ovl in evo
|
||||
}
|
||||
else if( $missionRunning && $VoteInProgress && !$TimeLimitChanged ) {
|
||||
//Restart the function so the map can end if the Vote doesnt pass.
|
||||
schedule(1000, 0, "RestartcheckTimeLimit", %game, %forced);
|
||||
|
||||
//Messege
|
||||
if( !$VoteInProgressMessege ) {
|
||||
messageAll('', '\c2Vote Overtime Initiated.', %display);
|
||||
messageAll('', '\c2Vote Overtime Initiated.~wfx/powered/turret_heavy_activate.wav', %display);
|
||||
$VoteInProgressMessege = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue