From ec5cc00de5999fba5e17760f658d610aa6636b9e Mon Sep 17 00:00:00 2001 From: Drulikar Date: Wed, 18 Oct 2023 13:13:55 -0700 Subject: [PATCH] Check player_list as well --- code/controllers/subsystem/inactivity.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/inactivity.dm b/code/controllers/subsystem/inactivity.dm index 7e861bd15bce..5edd4e8c5294 100644 --- a/code/controllers/subsystem/inactivity.dm +++ b/code/controllers/subsystem/inactivity.dm @@ -8,9 +8,10 @@ SUBSYSTEM_DEF(inactivity) runlevels = RUNLEVELS_DEFAULT|RUNLEVEL_LOBBY /datum/controller/subsystem/inactivity/fire(resumed = FALSE) - // Maybe we should just get a SS to bandaid all important global lists like this? if(list_clear_nulls(GLOB.clients)) debug_log("Removed nulls from GLOB.clients!") + if(list_clear_nulls(GLOB.player_list)) + debug_log("Removed nulls from GLOB.player_list!") if (!CONFIG_GET(flag/kick_inactive)) return