hedgewars/uTeams.pas
changeset 13760 72a8c0d63d80
parent 13758 b1177e9c9ee9
child 13761 6fd56a26e8b8
--- a/hedgewars/uTeams.pas	Tue Sep 04 16:26:15 2018 +0200
+++ b/hedgewars/uTeams.pas	Tue Sep 04 16:52:51 2018 +0200
@@ -89,6 +89,10 @@
         AddCaption(GetEventString(eidRoundDraw), capcolDefault, capgrpGameState);
         if SendGameResultOn then
             SendStat(siGameResult, shortstring(trmsg[sidDraw]));
+        if PreviousTeam <> nil then
+            AddVoice(sndNutter, PreviousTeam^.voicepack)
+        else
+            AddVoice(sndNutter, TeamsArray[0]^.voicepack);
         AddGear(0, 0, gtATFinishGame, 0, _0, _0, 3000);
         end
     else // win