From 0ee716ef3825745e5ead81c151a3d12585e4b020 Mon Sep 17 00:00:00 2001 From: Couls Date: Mon, 15 Jul 2019 20:21:54 -0400 Subject: [PATCH] Code improvement --- code/controllers/subsystem/input.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/controllers/subsystem/input.dm b/code/controllers/subsystem/input.dm index db1f3bd7fb1..0e88ef91675 100644 --- a/code/controllers/subsystem/input.dm +++ b/code/controllers/subsystem/input.dm @@ -117,6 +117,5 @@ SUBSYSTEM_DEF(input) 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] + for(var/client/C in clients) C.keyLoop()