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:
Emmett Gaines
2018-01-14 14:37:59 -05:00
committed by CitadelStationBot
parent f2539f2b34
commit e27346812f
6 changed files with 75 additions and 10 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
if(!user.keys_held["Ctrl"])
var/movement_dir = NONE
for(var/_key in user.keys_held)
movement_dir = movement_dir | GLOB.movement_keys[_key]
movement_dir = movement_dir | SSinput.movement_keys[_key]
if(user.next_move_dir_add)
movement_dir |= user.next_move_dir_add
if(user.next_move_dir_sub)