mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-07 17:37:50 -05:00
reverted fix to preserve vanilla behavior
Will add a fixed version separately.
This commit is contained in:
parent
ebfd937f9b
commit
04fa2130c5
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user