--- a/hedgewars/hwengine.pas Sun Feb 23 22:25:52 2014 +0100
+++ b/hedgewars/hwengine.pas Mon Feb 24 13:41:32 2014 -0500
@@ -504,7 +504,6 @@
uInputHandler.freeModule;
uStats.freeModule; //stub
uSound.freeModule;
- uScript.freeModule;
uMisc.freeModule;
uLandTexture.freeModule;
uGears.freeModule;
@@ -516,7 +515,6 @@
{$IFDEF USE_TOUCH_INTERFACE}uTouch.freeModule;{$ENDIF} //stub
{$IFDEF ANDROID}GLUnit.freeModule;{$ENDIF}
uTextures.freeModule;
- uPhysFSLayer.freeModule;
end;
uIO.freeModule;
@@ -527,6 +525,8 @@
uCommands.freeModule;
uVariables.freeModule;
uUtils.freeModule; // closes debug file
+ uPhysFSLayer.freeModule;
+ uScript.freeModule;
end;
///////////////////////////////////////////////////////////////////////////////