Commits

Don Brown  committed 91de5d5

Force ./scripts dir to be fixed to default

  • Participants
  • Parent commits ffdd8d0

Comments (0)

Files changed (1)

File src/krum/weaponm/AppSettings.java

 	
 	public static String getScriptClasspath() {
         String classpath = prefs.get(SCRIPT_CLASSPATH, null);
-        if (classpath == null) {
+        if (classpath == null || classpath.equals("./scripts")) {
             File home = getHomeDirectory();
             File scripts = new File(home, DEFAULT_SCRIPT_DIRECTORY);
             if (!scripts.exists()) {