hedgewars/hwengine.pas
branchqmlfrontend
changeset 10448 4cb727e029fa
parent 10424 4be6cd55f1cf
child 10515 7705784902e1
--- a/hedgewars/hwengine.pas	Fri Oct 31 00:36:08 2014 +0300
+++ b/hedgewars/hwengine.pas	Sat Nov 01 00:23:22 2014 +0300
@@ -444,6 +444,7 @@
     uLandPainted.initModule;        // computes drawn land
     uIO.initModule;                 // sets up sockets
     uScript.initModule;
+    uTeams.initModule;              // clear CurrentTeam variable
 
     if complete then
     begin
@@ -467,7 +468,6 @@
         uStats.initModule;
         uStore.initModule;
         uRender.initModule;
-        uTeams.initModule;
         uVisualGears.initModule;
         uVisualGearsHandlers.initModule;
         uWorld.initModule;