QTfrontend/main.cpp
changeset 4513 1dd97c710f5a
parent 3932 2fc211f60015
child 4888 3c96e99468c5
--- a/QTfrontend/main.cpp	Mon Dec 13 01:24:06 2010 +0100
+++ b/QTfrontend/main.cpp	Mon Dec 13 04:52:23 2010 +0100
@@ -399,6 +399,11 @@
     tmpdir.setFilter(QDir::Dirs | QDir::NoDotAndDotDot);
     mapList = new QStringList(tmpdir.entryList(QStringList("*")));
 
+    tmpdir.cd(datadir->absolutePath());
+    tmpdir.cd("Scripts/Multiplayer");
+    tmpdir.setFilter(QDir::Files | QDir::NoDotAndDotDot);
+    scriptList = new QStringList(tmpdir.entryList(QStringList("*.lua")));
+
 
     QTranslator Translator;
     {