fixed controls again (stupid me, stop breaking things)
This commit is contained in:
parent
11a54b2a89
commit
6239c60b77
@ -61,7 +61,8 @@ if not map_fname then
|
||||
end
|
||||
|
||||
-- define keys
|
||||
controls_config = common.json_load(controls_config_filename)
|
||||
controls_config = common.json_load(controls_config_filename) or {}
|
||||
setmetatable(controls_config, {__index = function() return nil end})
|
||||
BTSK_FORWARD = controls_config.forward or SDLK_w
|
||||
BTSK_BACK = controls_config.back or SDLK_s
|
||||
BTSK_LEFT = controls_config.left or SDLK_a
|
||||
|
Loading…
x
Reference in New Issue
Block a user