Fixed crashing when not passing negative key

This commit is contained in:
Иван Грачёв
2021-09-21 21:59:33 +05:00
parent 546f3a562e
commit 4450fa1c83
3 changed files with 33 additions and 15 deletions

View File

@@ -3,14 +3,8 @@
-- @shared
-- @include ./cl_input.txt
-- @include ./sv_input.txt
local Axles = {
Horizontal = {
Negative = KEY.D,
Positive = KEY.A,
Gravity = 0.1,
Sensitivity = 0.2
}
}
-- @include ./configs/sample.txt
require('./configs/sample.txt')
local options = {
Axles = Axles