From 04fa2130c568c015b8c6b38194623411f3fb3d98 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Wed, 8 Apr 2020 03:34:14 -0700 Subject: [PATCH] reverted fix to preserve vanilla behavior Will add a fixed version separately. --- patch_zm/maps/mp/zombies/_zm_audio_announcer.gsc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/patch_zm/maps/mp/zombies/_zm_audio_announcer.gsc b/patch_zm/maps/mp/zombies/_zm_audio_announcer.gsc index b1aeef0..68dd50b 100644 --- a/patch_zm/maps/mp/zombies/_zm_audio_announcer.gsc +++ b/patch_zm/maps/mp/zombies/_zm_audio_announcer.gsc @@ -341,19 +341,15 @@ playleaderdialogonplayer( dialog, team, waittime ) //checked changed to match ce if ( level.allowzmbannouncer ) { alias = game[ "zmbdialog" ][ "prefix" ] + "_" + game[ "zmbdialog" ][ dialog ]; - //aliasVariant = game[ "zmbdialog" ][ dialog ]; variant = self getleaderdialogvariant( alias ); if ( !isDefined( variant ) ) { - full_alias = alias + "_" + "0"; //adding the + "_" + "0" fixes pluto no announcer bug - //this happens because all voxes require the variant to be specified but for some reason they are not in pluto - //this may be due to the soundexists() not working potentially + full_alias = alias; } else { full_alias = alias + "_" + variant; } - self playlocalsound( full_alias ); } if ( isDefined( waittime ) ) @@ -433,4 +429,3 @@ getotherteam( team ) //checked matches cerberus output } } -