summarylogtreecommitdiffstats
path: root/megamek.patch
diff options
context:
space:
mode:
authorf43nd1r2020-02-28 05:56:06 +0100
committerf43nd1r2020-02-28 05:56:06 +0100
commitf9ae48a565ce669a508e476595124f73c753c4d9 (patch)
treeee6fa89363911de6737199866adb16ac993591ca /megamek.patch
downloadaur-f9ae48a565ce669a508e476595124f73c753c4d9.tar.gz
initial commit
Diffstat (limited to 'megamek.patch')
-rw-r--r--megamek.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/megamek.patch b/megamek.patch
new file mode 100644
index 000000000000..e2707421b862
--- /dev/null
+++ b/megamek.patch
@@ -0,0 +1,22 @@
+From cb58aa6c53d3c2725858292e2c94e0fbcd8f7727 Mon Sep 17 00:00:00 2001
+From: f43nd1r <lukas.morawietz@gmail.com>
+Date: Fri, 28 Feb 2020 04:42:37 +0100
+Subject: [PATCH] patch
+
+---
+ .../src/megamek/common/MechSummaryCache.java | 24 +++++++++----------
+ 1 file changed, 12 insertions(+), 12 deletions(-)
+
+diff --git a/megamek/src/megamek/common/MechSummaryCache.java b/megamek/src/megamek/common/MechSummaryCache.java
+index 8c71ab0106..0fee072c44 100644
+--- a/megamek/src/megamek/common/MechSummaryCache.java
++++ b/megamek/src/megamek/common/MechSummaryCache.java
+@@ -125,7 +125,7 @@ public class MechSummaryCache {
+ * @return The path to the directory containing the unit cache.
+ */
+ public static File getUnitCacheDir() {
+- return Configuration.unitsDir();
++ return new File(System.getProperty("user.home") + "/.cache/unit_cache");
+ }
+
+ public boolean isInitialized() {