QTfrontend/main.cpp
branchexperimental3D
changeset 4812 f924be23ffb4
parent 4513 1dd97c710f5a
child 4888 3c96e99468c5
--- a/QTfrontend/main.cpp	Mon Dec 27 23:57:44 2010 +0100
+++ b/QTfrontend/main.cpp	Tue Jan 04 12:53:46 2011 +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;
     {