From c2244a332d47a1f22cd8719c1e1521fa7b2b4002 Mon Sep 17 00:00:00 2001 From: jendave Date: Sun, 7 Aug 2011 01:01:35 +0000 Subject: [PATCH] - Setup Game State will now look for text files in the Forge directory instead of the system user directory (maybe it's worth creating the "tests" folder or something like that where to pile up test cases for various cards?..) --- src/forge/GuiDisplayUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/GuiDisplayUtil.java b/src/forge/GuiDisplayUtil.java index b8af07e6396..da78ad6c3b4 100644 --- a/src/forge/GuiDisplayUtil.java +++ b/src/forge/GuiDisplayUtil.java @@ -942,7 +942,7 @@ public class GuiDisplayUtil implements NewConstants { String t_computerSetupLibrary = "NONE"; String t_changePlayer = "NONE"; - String wd = System.getProperty("user.dir"); + String wd = "."; JFileChooser fc = new JFileChooser(wd); int rc = fc.showDialog(null, "Select Game State File"); if (rc != JFileChooser.APPROVE_OPTION)