hedgewars/hwengine.pas
changeset 4413 46caab3a8f84
parent 4408 81b0961b9863
child 4437 05192cdbce9b
--- a/hedgewars/hwengine.pas	Mon Nov 22 12:35:52 2010 +0100
+++ b/hedgewars/hwengine.pas	Mon Nov 22 21:43:31 2010 +0300
@@ -31,7 +31,7 @@
 
 uses SDLh, uMisc, uConsole, uGame, uConsts, uLand, uAmmos, uVisualGears, uGears, uStore, uWorld, uKeys, uSound,
      uScript, uTeams, uStats, uIO, uLocale, uChat, uAI, uAIMisc, uRandom, uLandTexture, uCollisions, uMobile,
-     sysutils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug;
+     sysutils, uTypes, uVariables, uCommands, uUtils, uCaptions, uDebug, uCommandHandlers;
 
 var isTerminated: boolean = false;
     alsoShutdownFrontend: boolean = false;
@@ -324,6 +324,7 @@
     uVariables.initModule;
     uConsole.initModule;    // MUST happen after uMisc
     uCommands.initModule;
+    uCommandHandlers.initModule;
 
     uLand.initModule;
     uIO.initModule;
@@ -392,6 +393,7 @@
     uIO.freeModule;             //stub
     uLand.freeModule;
 
+    uCommandHandlers.freeModule;
     uCommands.freeModule;
     uConsole.freeModule;
     uVariables.freeModule;