diff -r 6e9b12864856 -r 78860824b5a5 hedgewars/uFLRunQueue.pas --- 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;