hedgewars/hwengine.pas
changeset 11776 c9da8046f618
parent 11775 68f26b6a3a7d
child 11777 927c45b83496
equal deleted inserted replaced
11775:68f26b6a3a7d 11776:c9da8046f618
   113             ScriptCall('onGameStart');
   113             ScriptCall('onGameStart');
   114             for t:= 0 to Pred(TeamsCount) do
   114             for t:= 0 to Pred(TeamsCount) do
   115                 with TeamsArray[t]^ do
   115                 with TeamsArray[t]^ do
   116                     MaxTeamHealth:= TeamHealth;
   116                     MaxTeamHealth:= TeamHealth;
   117             RecountAllTeamsHealth;
   117             RecountAllTeamsHealth;
   118             ShowCredits;
   118             if not cOnlyStats then ShowCredits;
   119             GameState:= gsGame;
   119             GameState:= gsGame;
   120             end;
   120             end;
   121         gsConfirm, gsGame, gsChat:
   121         gsConfirm, gsGame, gsChat:
   122             begin
   122             begin
   123             // disable screenshot flash effect when about to make another screenshot
   123             // disable screenshot flash effect when about to make another screenshot