Fix command sent to engine so it works for real qmlfrontend
authorunc0rr
Tue, 15 Dec 2015 20:11:18 +0300
branchqmlfrontend
changeset 11460 96decedd9400
parent 11459 3c5d99013baf
child 11461 ab77e2ea2f82
Fix command sent to engine so it works for real
hedgewars/uFLTeams.pas
--- a/hedgewars/uFLTeams.pas	Mon Dec 14 00:24:03 2015 +0300
+++ b/hedgewars/uFLTeams.pas	Tue Dec 15 20:11:18 2015 +0300
@@ -51,8 +51,10 @@
     with team do
     begin
         ipcToEngine('eaddteam <hash> ' + colorsSet[color] + ' ' + teamName);
+
         if extDriven then
-            ipcToEngine('rdriven');
+            ipcToEngine('erdriven');
+
         for i:= 0 to Pred(hogsNumber) do
         begin
             ipcToEngine('eaddhh ' + inttostr(botLevel) + ' 100 ' + hedgehogs[i].name);