From b2c52b6de245a8f9b5bebc2b5a7b5b96d088cd54 Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 28 Apr 2026 12:14:01 -0400 Subject: [PATCH] follow-up bit for Qt idlecheckpoint --- win/Qt/qt_bind.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/Qt/qt_bind.cpp b/win/Qt/qt_bind.cpp index 10e2c3d8f..b82c899cc 100644 --- a/win/Qt/qt_bind.cpp +++ b/win/Qt/qt_bind.cpp @@ -682,17 +682,17 @@ NetHackQtBind::free_qt_input_timer(void) static void qt_timer_fire(void) { -#if defined(INSURANCE) if (iflags.idlecheckpoint) { /* no input for 30 seconds, so let's take * advantage and do a game checkpoint, * then resume the wait. */ +#if defined(INSURANCE) save_currentstate(); +#endif /* INSURANCE */ } if (qt_input_timer->isActive()) qt_input_timer->stop(); -#endif /* INSURANCE */ } //void