Commit d31fa998 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

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).
parent 1071dfe1
Pipeline #2947 failed with stage
in 90 minutes and 2 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment