QTfrontend/model/GameStyleModel.cpp
branchphysfslayer
changeset 8049 133e22b5c410
parent 7258 722e8a0d89dc
child 8419 d99f46b676b5
--- a/QTfrontend/model/GameStyleModel.cpp	Sat Nov 17 22:07:17 2012 +0400
+++ b/QTfrontend/model/GameStyleModel.cpp	Sat Nov 17 22:45:30 2012 +0400
@@ -55,8 +55,7 @@
     {
         script = script.remove(".lua", Qt::CaseInsensitive);
 
-        QFile scriptCfgFile(DataManager::instance().findFileForRead(
-                            QString("Scripts/Multiplayer/%2.cfg").arg(script)));
+        QFile scriptCfgFile(QString("physfs://Scripts/Multiplayer/%2.cfg").arg(script));
 
         QString name = script;
         name = name.replace("_", " ");