do not show credits in stats-only mode
authorsheepluva
Fri, 29 Apr 2016 12:26:13 +0200 (2016-04-29)
changeset 11771 c9da8046f618
parent 11770 68f26b6a3a7d
child 11772 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: