From 5d2ce584b34155ca6be53c83f89365daf39de3ba Mon Sep 17 00:00:00 2001 From: Couls Date: Sun, 14 Jul 2019 01:32:02 -0400 Subject: [PATCH] Update input.dm --- code/controllers/subsystem/input.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/controllers/subsystem/input.dm b/code/controllers/subsystem/input.dm index f2e0fdb0497..db1f3bd7fb1 100644 --- a/code/controllers/subsystem/input.dm +++ b/code/controllers/subsystem/input.dm @@ -115,6 +115,8 @@ SUBSYSTEM_DEF(input) /datum/controller/subsystem/input/fire() var/list/clients = GLOB.clients // Let's sing the list cache song + if(listclearnulls(clients)) // clear nulls before we run keyloop + log_world("Found a null in clients list!") for(var/i in 1 to clients.len) var/client/C = clients[i] C.keyLoop()