--- a/hedgewars/uFLRunQueue.pas Thu Dec 10 00:33:45 2015 +0300
+++ b/hedgewars/uFLRunQueue.pas Thu Dec 10 23:49:12 2015 +0300
@@ -6,7 +6,7 @@
procedure passFlibEvent(p: pointer); cdecl;
implementation
-uses uFLGameConfig, hwengine, uFLData, uFLUICallback;
+uses uFLGameConfig, hwengine, uFLData, uFLUICallback, uFLIPC;
var runQueue: PGameConfig = nil;
@@ -17,6 +17,7 @@
if runQueue^.gameType = gtPreview then
sendUI(mtRenderingPreview, nil, 0);
+ ipcCleanEngineQueue();
RunEngine(runQueue^.argumentsNumber, @runQueue^.argv);
sendConfig(runQueue)
@@ -82,7 +83,10 @@
flibGameFinished: begin
cleanupConfig;
nextRun
- end;
+ end;
+ flibRunNetGame: begin
+ runNetGame
+ end;
end;
end;