QTfrontend/net/hwmap.cpp
changeset 10159 5848ed144e0b
parent 10150 fa5c83fd0ad9
child 10161 c092f92aee23
--- a/QTfrontend/net/hwmap.cpp	Sun Feb 23 22:25:52 2014 +0100
+++ b/QTfrontend/net/hwmap.cpp	Mon Feb 24 13:41:32 2014 -0500
@@ -74,7 +74,7 @@
     SendIPC(QString("eseed %1").arg(m_seed).toUtf8());
     SendIPC(QString("e$template_filter %1").arg(templateFilter).toUtf8());
     SendIPC(QString("e$mapgen %1").arg(m_mapgen).toUtf8());
-    if (m_script.length())
+    if (!m_script.isEmpty())
     {
         SendIPC(QString("escript Scripts/Multiplayer/%1.lua").arg(m_script).toUtf8());
     }