hedgewars/uFLGameConfig.pas
branchqmlfrontend
changeset 11459 3c5d99013baf
parent 11458 e7c7ca0c1556
child 11463 8318e841648f
--- a/hedgewars/uFLGameConfig.pas	Sat Dec 12 23:42:40 2015 +0300
+++ b/hedgewars/uFLGameConfig.pas	Mon Dec 14 00:24:03 2015 +0300
@@ -68,7 +68,9 @@
                 ipcToEngine('e$template_filter ' + intToStr(template));
             ipcToEngine('e$feature_size ' + intToStr(featureSize));
         end;
-    gtLocal, gtNet: begin
+gtLocal, gtNet: begin
+            if gameType = gtNet then
+                ipcToEngine('TN');
             if script <> 'Normal' then
                 ipcToEngine('escript ' + getScriptPath(script));
             ipcToEngine('eseed ' + seed);
@@ -235,6 +237,7 @@
         c:= getUnusedColor;
 
         teams[i]:= team^;
+        teams[i].extDriven:= false;
 
         if i = 0 then hn:= 4 else hn:= teams[i - 1].hogsNumber;
         if hn > 48 - hedgehogsNumber then hn:= 48 - hedgehogsNumber;