--- a/QTfrontend/gamecfgwidget.cpp Sun Jun 12 14:45:26 2011 -0400
+++ b/QTfrontend/gamecfgwidget.cpp Sun Jun 12 21:06:48 2011 -0400
@@ -61,7 +61,9 @@
QString script = (*scriptList)[i].remove(".lua", Qt::CaseInsensitive);
QList<QVariant> scriptInfo;
scriptInfo.push_back(script);
- QFile scriptCfgFile(QString("%1/Scripts/Multiplayer/%2.cfg").arg(datadir->absolutePath()).arg(script));
+ QFile scriptCfgFile;
+ scriptCfgFile.setFileName(QString("%1/Data/Scripts/Multiplayer/%2.cfg").arg(cfgdir->absolutePath()).arg(script));
+ if (!scriptCfgFile.exists()) scriptCfgFile.setFileName(QString("%1/Scripts/Multiplayer/%2.cfg").arg(datadir->absolutePath()).arg(script));
if (scriptCfgFile.exists() && scriptCfgFile.open(QFile::ReadOnly)) {
QString scheme;
QString weapons;