Moves GLOB.movement_keys into SSinput and adds movement direction badminry (#34123)
* badmin flip dirs * moves movement_keys into SSinput from GLOB
This commit is contained in:
committed by
CitadelStationBot
parent
f2539f2b34
commit
e27346812f
@@ -5,7 +5,7 @@
|
||||
set hidden = TRUE
|
||||
|
||||
keys_held[_key] = world.time
|
||||
var/movement = GLOB.movement_keys[_key]
|
||||
var/movement = SSinput.movement_keys[_key]
|
||||
if(!(next_move_dir_sub & movement))
|
||||
next_move_dir_add |= movement
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
set hidden = TRUE
|
||||
|
||||
keys_held -= _key
|
||||
var/movement = GLOB.movement_keys[_key]
|
||||
var/movement = SSinput.movement_keys[_key]
|
||||
if(!(next_move_dir_add & movement))
|
||||
next_move_dir_sub |= movement
|
||||
|
||||
|
||||
Reference in New Issue
Block a user