From 715fa822a6e60fbb2c6c847665782a461eb95bf7 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Sat, 11 Aug 2018 08:10:49 -0400 Subject: [PATCH] Added sound and updates --- LakRabbitGame.cs | 2 +- autoexec/VoteOverTime.cs | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/LakRabbitGame.cs b/LakRabbitGame.cs index 5a01e6f..ff3a66d 100644 --- a/LakRabbitGame.cs +++ b/LakRabbitGame.cs @@ -118,7 +118,7 @@ // // $Host::EnableLakUnlimitedDJ // 0 - Players only get one DiscJump -// 1 - Show the flag when dropped as a task +// 1 - Players get 999 or unlimited DiscJumps // diff --git a/autoexec/VoteOverTime.cs b/autoexec/VoteOverTime.cs index bafe0e5..64c7c53 100644 --- a/autoexec/VoteOverTime.cs +++ b/autoexec/VoteOverTime.cs @@ -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; } }