hedgewars/uFLRunQueue.pas
branchqmlfrontend
changeset 11457 78860824b5a5
parent 11456 6e9b12864856
child 11461 ab77e2ea2f82
--- a/hedgewars/uFLRunQueue.pas	Thu Dec 10 23:49:12 2015 +0300
+++ b/hedgewars/uFLRunQueue.pas	Sat Dec 12 23:38:18 2015 +0300
@@ -17,7 +17,7 @@
         if runQueue^.gameType = gtPreview then
             sendUI(mtRenderingPreview, nil, 0);
 
-        ipcCleanEngineQueue();
+        ipcRemoveBarrierFromEngineQueue();
         RunEngine(runQueue^.argumentsNumber, @runQueue^.argv);
 
         sendConfig(runQueue)
@@ -36,6 +36,8 @@
 var pConfig, t, tt: PGameConfig;
     i: Longword;
 begin
+    ipcSetEngineBarrier();
+
     new(pConfig);
     pConfig^:= config;