From c765e1561514a5a720b6577aace9ea83561c1647 Mon Sep 17 00:00:00 2001 From: mogami Date: Sat, 10 Aug 2002 10:51:31 +0000 Subject: [PATCH] =?utf8?q?=E8=87=AA=E5=8B=95=E6=8B=BE=E3=81=84=E3=82=A8?= =?utf8?q?=E3=83=87=E3=82=A3=E3=82=BF=E3=81=AE=E4=BD=BF=E7=94=A8=E4=B8=AD?= =?utf8?q?=E3=81=AB=E3=81=AF=E3=83=97=E3=83=AC=E3=82=A4=E6=99=82=E9=96=93?= =?utf8?q?=E3=81=AE=E3=82=AB=E3=82=A6=E3=83=B3=E3=83=88=E3=81=8C=E9=80=B2?= =?utf8?q?=E3=81=BE=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?utf8?q?=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/autopick.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/autopick.c b/src/autopick.c index be61fd094..16ff1e89b 100644 --- a/src/autopick.c +++ b/src/autopick.c @@ -2521,6 +2521,9 @@ void do_cmd_edit_autopick(void) old_autosave_turn = turn; } + /* HACK -- Reset start_time to stop counting playtime while edit */ + update_playtime(); + /* Free old entries */ init_autopicker(); @@ -3609,4 +3612,7 @@ void do_cmd_edit_autopick(void) /* Reload autopick pref */ process_pickpref_file(buf); + + /* HACK -- reset start_time so that playtime is not increase while edit */ + start_time = time(NULL); } -- 2.11.0