From 5dc380af5313b4d3b5922ec4350bd98fac0ace6f Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 7 Mar 2022 14:16:02 +0100 Subject: [PATCH] Stop countdown to timeout start if timeout was aborted with timein --- qcsrc/server/command/common.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/command/common.qc b/qcsrc/server/command/common.qc index c2e039f75..056a8e9e6 100644 --- a/qcsrc/server/command/common.qc +++ b/qcsrc/server/command/common.qc @@ -664,6 +664,7 @@ void CommonCommand_timein(int request, entity caller) timeout_status = TIMEOUT_INACTIVE; timeout_time = 0; timeout_handler.nextthink = time; // timeout_handler has to take care of it immediately + Kill_Notification(NOTIF_ALL, NULL, MSG_CENTER, CPID_TIMEOUT); bprint(strcat("^7The timeout was aborted by ", GetCallerName(caller), " !\n")); return; } -- 2.39.2