From 63c408dcb19d5e14be4ee312ea67b44a94459e45 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 21 Jun 2021 09:26:36 +1000 Subject: [PATCH] Count removal for idling as a forfeit in LMS, fixes #2600 --- qcsrc/server/client.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 7217c4b87..e0f0e2b19 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -2725,6 +2726,7 @@ void PlayerPostThink (entity this) Send_Notification(NOTIF_ALL, NULL, MSG_INFO, INFO_MOVETOSPEC_IDLING, this.netname, maxidle_time); if (this.caplayer) this.caplayer = 0; + this.lms_spectate_warning = 2; // TODO: mutator hook for players forcibly moved to spectator? PutObserverInServer(this); } else -- 2.39.2