QTfrontend/net/hwmap.cpp
changeset 8069 bb7671829935
parent 6952 7f70f37bbf08
child 8070 66bc20d089fc
--- a/QTfrontend/net/hwmap.cpp	Mon Nov 19 13:21:20 2012 +0100
+++ b/QTfrontend/net/hwmap.cpp	Mon Nov 19 23:43:45 2012 +0400
@@ -29,6 +29,11 @@
 {
 }
 
+bool HWMap::couldBeRemoved()
+{
+    return !m_hasStarted;
+}
+
 void HWMap::getImage(const QString & seed, int filter, MapGenerator mapgen, int maze_size, const QByteArray & drawMapData)
 {
     m_seed = seed;
@@ -36,7 +41,7 @@
     m_mapgen = mapgen;
     m_maze_size = maze_size;
     if(mapgen == MAPGEN_DRAWN) m_drawMapData = drawMapData;
-    Start();
+    Start(true);
 }
 
 QStringList HWMap::getArguments()