diff --git a/code/controllers/subsystem/input.dm b/code/controllers/subsystem/input.dm index 0e88ef91675..db1f3bd7fb1 100644 --- a/code/controllers/subsystem/input.dm +++ b/code/controllers/subsystem/input.dm @@ -117,5 +117,6 @@ 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/client/C in clients) + for(var/i in 1 to clients.len) + var/client/C = clients[i] C.keyLoop()