mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
13 lines
381 B
Plaintext
13 lines
381 B
Plaintext
SUBSYSTEM_DEF(input)
|
|
name = "Input"
|
|
wait = 1 //SS_TICKER means this runs every tick
|
|
flags = SS_TICKER | SS_NO_INIT
|
|
priority = FIRE_PRIORITY_INPUT
|
|
runlevels = RUNLEVELS_DEFAULT | RUNLEVEL_LOBBY
|
|
|
|
/datum/controller/subsystem/input/fire()
|
|
var/list/clients = GLOB.clients // Let's sing the list cache song
|
|
for(var/i in 1 to clients.len)
|
|
var/client/C = clients[i]
|
|
C.keyLoop()
|