mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-14 12:12:37 +00:00
* Ports Diagonal Movement * Requested tweaks * mathemagical correction * Update code/modules/keybindings/setup.dm Co-authored-by: Spookerton <spkrtn@pm.me> * Update code/_helpers/type2type.dm Co-authored-by: Spookerton <spkrtn@pm.me> * Update code/modules/keybindings/setup.dm Co-authored-by: Spookerton <spkrtn@pm.me> * fixed merge error * Fixes falling, speed calculation, and non-hotkey WASD Co-authored-by: Spookerton <spkrtn@pm.me>
13 lines
400 B
Plaintext
13 lines
400 B
Plaintext
SUBSYSTEM_DEF(input)
|
|
name = "Input"
|
|
wait = 1 // SS_TICKER means this runs every tick
|
|
init_order = INIT_ORDER_INPUT
|
|
flags = SS_TICKER
|
|
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() |