From d31fa998e7f9e98b8f60869253c6603c80416cbb Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 23 Aug 2019 06:40:20 +0200 Subject: [PATCH] Really save games scores to the games scores directory * lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score): Save games scores to `gamegrid-user-score-file-directory' by default (bug#36971). --- lisp/play/gamegrid.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index 2d19c145b0a..be09a73a1f1 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -562,7 +562,8 @@ FILE is created there." (gamegrid-shared-game-dir (not (zerop (logand #o6000 (or update-game-score-modes 0)))))) (cond ((or (not update-game-score-modes) (file-name-absolute-p file)) - (gamegrid-add-score-insecure file score)) + (gamegrid-add-score-insecure file score + gamegrid-user-score-file-directory)) ((and gamegrid-shared-game-dir (file-exists-p (expand-file-name file shared-game-score-directory))) ;; Use the setgid (or setuid) "update-game-score" program -- 2.39.5