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

Grief: add round won/lost text

This commit is contained in:
Jbleezy
2021-12-17 16:10:15 -08:00
parent 4810cf3388
commit 4a610003ac
2 changed files with 16 additions and 1 deletions

View File

@ -152,7 +152,21 @@ round_end(winner, force_win)
setroundsplayed(level.round_number);
level thread maps/mp/zombies/_zm_audio_announcer::leaderdialog( "grief_restarted" );
if(!winner_alive)
if(winner_alive)
{
foreach(player in players)
{
if(player.team == team)
{
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You won the round" );
}
else
{
player thread scripts/zm/main/_zm_reimagined_zgrief::show_grief_hud_msg( "You lost the round" );
}
}
}
else
{
foreach(player in players)
{