hedgewars/uGears.pas
changeset 11537 bf86c6cb9341
parent 11508 09be932506a9
child 11705 ea1097d7bd27
--- a/hedgewars/uGears.pas	Sun Jan 24 00:02:57 2016 +0100
+++ b/hedgewars/uGears.pas	Sun Jan 31 16:07:14 2016 +0300
@@ -748,7 +748,7 @@
 if (ClansCount = 2) and ((GameFlags and gfDivideTeams) <> 0) then
     begin
     t:= 0;
-    TryDo(ClansCount = 2, 'More or less than 2 clans on map in divided teams mode!', true);
+    if checkFails(ClansCount = 2, 'More or less than 2 clans on map in divided teams mode!', true) then exit;
     for p:= 0 to 1 do
         begin
         with ClansArray[p]^ do