From 10267f3e70d4f608cece59835d72f2b301e4a789 Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Sun, 26 Aug 2018 19:11:41 -0500 Subject: [PATCH] Only save on the first frame of the save screen. --- library/Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Core.cpp b/library/Core.cpp index 1a72e097d..2cbba1cf1 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -2040,7 +2040,7 @@ void Core::doUpdate(color_ostream &out, bool first_update) // Execute per-frame handlers onUpdate(out); - if (df::global::ui->main.autosave_request || strict_virtual_cast(screen)) + if (df::global::ui->main.autosave_request || (vs_changed && strict_virtual_cast(screen))) { doSave(out); }