also save pc settings on autosave

This commit is contained in:
ManDude
2022-08-29 03:25:08 +01:00
parent f51d584e41
commit 2c752ff978
+3
View File
@@ -1288,6 +1288,9 @@
(set! (-> self part matrix) (sprite-allocate-user-hvdf))
(cond
((= desired-mode 'auto-save)
;; also save pc settings.
(with-pc
(commit-to-file *pc-settings*))
(if (not (-> *setting-control* current auto-save))
(go-virtual error (mc-status-code no-auto-save))
)