1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Nuketown: play alarm sound on end game

This commit is contained in:
Jbleezy
2024-01-15 04:03:55 -08:00
parent d3c2e1a6ca
commit 83d703cb8a
2 changed files with 16 additions and 7 deletions

View File

@ -2806,15 +2806,19 @@ end_game()
{
level waittill("end_game");
maps\mp\zombies\_zm::check_end_game_intermission_delay();
clientnotify("zesn");
if (isDefined(level.sndgameovermusicoverride))
if (level.script != "zm_nuked")
{
level thread maps\mp\zombies\_zm_audio::change_zombie_music(level.sndgameovermusicoverride);
}
else
{
level thread maps\mp\zombies\_zm_audio::change_zombie_music("game_over");
clientnotify("zesn");
if (isDefined(level.sndgameovermusicoverride))
{
level thread maps\mp\zombies\_zm_audio::change_zombie_music(level.sndgameovermusicoverride);
}
else
{
level thread maps\mp\zombies\_zm_audio::change_zombie_music("game_over");
}
}
players = get_players();

View File

@ -129,6 +129,11 @@ moon_rocket_follow_path()
sndgameend()
{
level waittill("end_game");
playsoundatposition("zmb_perks_incoming_quad_front", (0, 0, 0));
playsoundatposition("zmb_perks_incoming_alarm", (-2198, 486, 327));
level waittill("intermission");
wait 7.5;