Blob Blame History Raw
--- src/python/init.cpp.orig	2011-07-09 09:42:23.635742453 -0500
+++ src/python/init.cpp	2011-07-09 09:44:12.648597427 -0500
@@ -285,7 +285,6 @@
     std::string modpaths( "" );
     //Find all the mods dir (ignore homedir)
     for (unsigned int i = 1; i < VSFileSystem::Rootdir.size(); i++) {
-        modpaths += "r\""+VSFileSystem::Rootdir[i]+PATHSEP+moduledir+PATHSEP "builtin\",";
         modpaths += "r\""+VSFileSystem::Rootdir[i]+PATHSEP+moduledir+PATHSEP "quests\",";
         modpaths += "r\""+VSFileSystem::Rootdir[i]+PATHSEP+moduledir+PATHSEP "missions\",";
         modpaths += "r\""+VSFileSystem::Rootdir[i]+PATHSEP+moduledir+PATHSEP "ai\",";
@@ -299,7 +298,7 @@
      *  while ((backslash=modpaths.find("\\"))!=std::string::npos) {
      *  modpaths[backslash]='/';
      *  }*/
-    std::string changepath( "import sys\nprint sys.path\nsys.path = ["+modpaths+"]\n" );
+    std::string changepath( "import sys\nprint sys.path\nsys.path += ["+modpaths+"]\n" );
     /*
      *  std::string changepath ("import sys\nprint sys.path\nsys.path = ["
      *                       "\""+VSFileSystem::datadir+DELIMSTR"modules"DELIMSTR"builtin\""