summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--starsector.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/starsector.sh b/starsector.sh
index c94d47ce2283..7fed46130bae 100644
--- a/starsector.sh
+++ b/starsector.sh
@@ -5,7 +5,7 @@ set -euo pipefail
# fix for users of special IM modules
unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
-state_dir="${XDG_STATE_HOME:-"$HOME/.local/share"}/starsector"
+state_dir="${XDG_DATA_HOME:-"$HOME/.local/share"}/starsector"
saves_path="${state_dir}/saves"
mods_path="${state_dir}/mods"
screenshots_path="${state_dir}/screenshots"