do not show credits in stats-only mode
authorsheepluva
Fri, 29 Apr 2016 12:26:13 +0200
changeset 11776 c9da8046f618
parent 11775 68f26b6a3a7d
child 11777 927c45b83496
do not show credits in stats-only mode
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: