diff --git a/.gitignore b/.gitignore index b1f3107..c2b6673 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,9 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk + +.classpath + +.classpath + +.settings/org.eclipse.jdt.core.prefs diff --git a/src/spacewars/SpaceWars.java b/src/spacewars/SpaceWars.java index 6c8ac07..0867910 100644 --- a/src/spacewars/SpaceWars.java +++ b/src/spacewars/SpaceWars.java @@ -11,7 +11,7 @@ public class SpaceWars { private static void test(String game) { final String gamePath = "" + new File(SpaceWars.class.getProtectionDomain().getCodeSource() - .getLocation().getPath().replace("%20", " ") + game + "\\").getPath(); + .getLocation().getPath().replace("%20", " ") + game).getPath(); Engine engine = new Engine(gamePath); }