From 7d4f8f41afde6ed74b7b2c8512cd051c61dff382 Mon Sep 17 00:00:00 2001 From: oc Date: Wed, 16 May 2018 13:33:29 +0800 Subject: [PATCH] autosave while events --- libs/control.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/control.js b/libs/control.js index 44fe2c87..7c15fb88 100644 --- a/libs/control.js +++ b/libs/control.js @@ -1810,6 +1810,8 @@ control.prototype.openSettings = function (need) { ////// 自动存档 ////// control.prototype.autosave = function (removeLast) { + if (core.status.event.id!=null) + return; var x=null; if (removeLast) x=core.status.route.pop();