Oops, add forgotten begin/end in uTeams
authorWuzzy <Wuzzy2@mail.ru>
Sat, 11 Aug 2018 22:35:23 +0200
changeset 13654 5b58aa82b5dc
parent 13653 cbebd49ba39f
child 13655 45b325bb9bb1
Oops, add forgotten begin/end in uTeams
hedgewars/uTeams.pas
--- a/hedgewars/uTeams.pas	Sat Aug 11 22:33:40 2018 +0200
+++ b/hedgewars/uTeams.pas	Sat Aug 11 22:35:23 2018 +0200
@@ -312,10 +312,12 @@
     end;
 
 if not PlacingHogs then
+    begin
     if (TotalRoundsReal = -1) then
         TotalRoundsReal:= 0;
     if (TotalRoundsPre = -1) and (ClansCount = 1) then
         TotalRoundsPre:= 0;
+    end;
 
 // Determine clan ID to check to determine whether to increase TotalRoundsPre/TotalRoundsReal
 if (not PlacingHogs) then