mirror of
https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer.git
synced 2025-06-11 03:07:57 -05:00
reverted fix to preserve vanilla behavior
Will add a fixed version separately.
This commit is contained in:
@ -341,19 +341,15 @@ playleaderdialogonplayer( dialog, team, waittime ) //checked changed to match ce
|
|||||||
if ( level.allowzmbannouncer )
|
if ( level.allowzmbannouncer )
|
||||||
{
|
{
|
||||||
alias = game[ "zmbdialog" ][ "prefix" ] + "_" + game[ "zmbdialog" ][ dialog ];
|
alias = game[ "zmbdialog" ][ "prefix" ] + "_" + game[ "zmbdialog" ][ dialog ];
|
||||||
//aliasVariant = game[ "zmbdialog" ][ dialog ];
|
|
||||||
variant = self getleaderdialogvariant( alias );
|
variant = self getleaderdialogvariant( alias );
|
||||||
if ( !isDefined( variant ) )
|
if ( !isDefined( variant ) )
|
||||||
{
|
{
|
||||||
full_alias = alias + "_" + "0"; //adding the + "_" + "0" fixes pluto no announcer bug
|
full_alias = alias;
|
||||||
//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
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
full_alias = alias + "_" + variant;
|
full_alias = alias + "_" + variant;
|
||||||
}
|
}
|
||||||
|
|
||||||
self playlocalsound( full_alias );
|
self playlocalsound( full_alias );
|
||||||
}
|
}
|
||||||
if ( isDefined( waittime ) )
|
if ( isDefined( waittime ) )
|
||||||
@ -433,4 +429,3 @@ getotherteam( team ) //checked matches cerberus output
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user