master
Marcus Gosselin 2016-02-16 03:41:15 -05:00
parent 1150d8a90a
commit 173104238a
2 changed files with 7 additions and 1 deletions

6
.gitignore vendored
View File

@ -61,3 +61,9 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
.classpath
.classpath
.settings/org.eclipse.jdt.core.prefs

View File

@ -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);
}