hedgewars/hwengine.pas
changeset 7027 f264ad9d8965
parent 7026 8d1724e1337e
child 7044 46cb4e8cedfb
--- a/hedgewars/hwengine.pas	Sat May 05 17:29:04 2012 +0100
+++ b/hedgewars/hwengine.pas	Sat May 05 18:10:41 2012 +0100
@@ -378,20 +378,13 @@
 
     // clean up all the memory allocated
     freeEverything(true);
-    if alsoShutdownFrontend then
-        halt;
 end;
 
 procedure initEverything (complete:boolean);
 begin
     Randomize();
 
-    if complete then
-        cLogfileBase:= 'game'
-    else
-        cLogfileBase:= 'preview';
-
-    uUtils.initModule;      // this opens the debug file, must be the first
+    uUtils.initModule(complete);      // this opens the debug file, must be the first
     uMisc.initModule;
     uVariables.initModule;
     uConsole.initModule;