hedgewars/hwengine.pas
changeset 4046 cfdbddc4b385
parent 3976 abaf741a4e21
child 4343 19cbea33e4d2
child 4357 a1fcfc341a52
--- a/hedgewars/hwengine.pas	Sun Oct 31 00:32:41 2010 -0400
+++ b/hedgewars/hwengine.pas	Sun Oct 31 12:19:54 2010 -0400
@@ -267,24 +267,25 @@
 
     LoadLocale(Pathz[ptLocale] + '/en.txt');  // Do an initial load with english
     if cLocaleFName <> 'en.txt' then
-    begin
+        begin
         // Try two letter locale first before trying specific locale overrides
         if (Length(cLocaleFName) > 6) and (Copy(cLocaleFName,1,2)+'.txt' <> 'en.txt') then
             LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocaleFName,1,2)+'.txt');
         LoadLocale(Pathz[ptLocale] + '/' + cLocaleFName);
-    end;
+        end;
 
     WriteLnToConsole(msgGettingConfig);
+
     if recordFileName = '' then
-    begin
+        begin
         InitIPC;
         SendIPCAndWaitReply('C');        // ask for game config
-    end
+        end
     else
-    begin
+        begin
         LoadRecordFromFile(recordFileName);
         perfExt_SaveBeganSynching();
-    end;
+        end;
 
     ScriptOnGameInit;