mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Pre-game: add ready up loop sound
This commit is contained in:
@ -729,6 +729,9 @@ wait_for_all_players_ready()
|
||||
{
|
||||
player.waiting = undefined;
|
||||
player playlocalsound( "zmb_perks_packa_ready" );
|
||||
|
||||
player.playing_loop_sound = 1;
|
||||
player playloopsound( "zmb_perks_packa_ticktock" );
|
||||
}
|
||||
|
||||
while ( num_ready < players.size || players.size < level.pregame_minplayers )
|
||||
@ -764,6 +767,9 @@ wait_for_all_players_ready()
|
||||
player.ready = undefined;
|
||||
player.statusicon = "";
|
||||
player playlocalsound( "zmb_perks_packa_deny" );
|
||||
|
||||
player.playing_loop_sound = undefined;
|
||||
player stoploopsound();
|
||||
}
|
||||
|
||||
level.ready_up_hud.alpha = 0;
|
||||
@ -790,6 +796,12 @@ wait_for_all_players_ready()
|
||||
|
||||
foreach ( player in players )
|
||||
{
|
||||
if ( !isDefined( player.playing_loop_sound ) )
|
||||
{
|
||||
player.playing_loop_sound = 1;
|
||||
player playloopsound( "zmb_perks_packa_ticktock" );
|
||||
}
|
||||
|
||||
if ( is_true( player.afterlife ) )
|
||||
{
|
||||
player.infinite_mana = 1;
|
||||
@ -824,6 +836,9 @@ wait_for_all_players_ready()
|
||||
player.ready = undefined;
|
||||
player.statusicon = "";
|
||||
|
||||
player.playing_loop_sound = undefined;
|
||||
player stoploopsound();
|
||||
|
||||
if ( is_true( player.afterlife ) )
|
||||
{
|
||||
player.infinite_mana = 0;
|
||||
|
Reference in New Issue
Block a user