# HG changeset patch
# User sheepluva
# Date 1461925573 -7200
# Node ID c9da8046f618fd0c23826cbb02f10229dad78160
# Parent  68f26b6a3a7d97efaead1da83a1218c2631b7491
do not show credits in stats-only mode

diff -r 68f26b6a3a7d -r c9da8046f618 hedgewars/hwengine.pas
--- a/hedgewars/hwengine.pas	Fri Apr 29 12:11:19 2016 +0200
+++ b/hedgewars/hwengine.pas	Fri Apr 29 12:26:13 2016 +0200
@@ -115,7 +115,7 @@
                 with TeamsArray[t]^ do
                     MaxTeamHealth:= TeamHealth;
             RecountAllTeamsHealth;
-            ShowCredits;
+            if not cOnlyStats then ShowCredits;
             GameState:= gsGame;
             end;
         gsConfirm, gsGame, gsChat: