mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Added sound and updates
This commit is contained in:
parent
a74d72f5e5
commit
715fa822a6
|
|
@ -118,7 +118,7 @@
|
||||||
//
|
//
|
||||||
// $Host::EnableLakUnlimitedDJ
|
// $Host::EnableLakUnlimitedDJ
|
||||||
// 0 - Players only get one DiscJump
|
// 0 - Players only get one DiscJump
|
||||||
// 1 - Show the flag when dropped as a task
|
// 1 - Players get 999 or unlimited DiscJumps
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,10 +27,7 @@ function DefaultGame::checkTimeLimit(%game, %forced)
|
||||||
%game.timeLimitReached();
|
%game.timeLimitReached();
|
||||||
|
|
||||||
//Reset Everything to do with Vote Overtime
|
//Reset Everything to do with Vote Overtime
|
||||||
$VoteInProgress = false;
|
//Moved to function DefaultGame::gameOver in DefaultGame.ovl in evo
|
||||||
$TimeLimitChanged = false;
|
|
||||||
$VoteInProgressMessege = false;
|
|
||||||
$VoteSoundInProgress = false;
|
|
||||||
}
|
}
|
||||||
else if( $missionRunning && $VoteInProgress && !$TimeLimitChanged ) {
|
else if( $missionRunning && $VoteInProgress && !$TimeLimitChanged ) {
|
||||||
//Restart the function so the map can end if the Vote doesnt pass.
|
//Restart the function so the map can end if the Vote doesnt pass.
|
||||||
|
|
@ -38,7 +35,7 @@ function DefaultGame::checkTimeLimit(%game, %forced)
|
||||||
|
|
||||||
//Messege
|
//Messege
|
||||||
if( !$VoteInProgressMessege ) {
|
if( !$VoteInProgressMessege ) {
|
||||||
messageAll('', '\c2Vote Overtime Initiated.', %display);
|
messageAll('', '\c2Vote Overtime Initiated.~wfx/powered/turret_heavy_activate.wav', %display);
|
||||||
$VoteInProgressMessege = true;
|
$VoteInProgressMessege = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue