Fixed christmas BF and key rebinding
This commit is contained in:
parent
26ce959302
commit
3a1478fb47
@ -20,7 +20,7 @@
|
||||
"fps": 24,
|
||||
"anim": "singLEFT",
|
||||
"indices": [],
|
||||
"name": "BF NOTE LEFT0"
|
||||
"name": "BF NOTE LEFT"
|
||||
},
|
||||
{
|
||||
"loop": false,
|
||||
@ -31,7 +31,7 @@
|
||||
"fps": 24,
|
||||
"anim": "singDOWN",
|
||||
"indices": [],
|
||||
"name": "BF NOTE DOWN0"
|
||||
"name": "BF NOTE DOWN"
|
||||
},
|
||||
{
|
||||
"loop": false,
|
||||
@ -42,7 +42,7 @@
|
||||
"fps": 24,
|
||||
"anim": "singUP",
|
||||
"indices": [],
|
||||
"name": "BF NOTE UP0"
|
||||
"name": "BF NOTE UP"
|
||||
},
|
||||
{
|
||||
"loop": false,
|
||||
@ -53,7 +53,7 @@
|
||||
"fps": 24,
|
||||
"anim": "singRIGHT",
|
||||
"indices": [],
|
||||
"name": "BF NOTE RIGHT0"
|
||||
"name": "BF NOTE RIGHT"
|
||||
},
|
||||
{
|
||||
"loop": false,
|
||||
|
18
main.lua
18
main.lua
@ -94,17 +94,13 @@ function love.keypressed(key, un, is)
|
||||
curDiff = curDiffList[1]
|
||||
curDiffInd = 1
|
||||
end
|
||||
elseif key == "1" then
|
||||
gettingKey = 1
|
||||
elseif key == "2" then
|
||||
gettingKey = 2
|
||||
elseif key == "3" then
|
||||
gettingKey = 3
|
||||
elseif key == "4" then
|
||||
gettingKey = 3
|
||||
elseif key == "0" then
|
||||
settings.Downscroll = not settings.Downscroll
|
||||
files.write_file("settings.json", json.stringify(settings))
|
||||
elseif tonumber(key) and tonumber(key) < 5 then
|
||||
if key == "0" then
|
||||
settings.Downscroll = not settings.Downscroll
|
||||
files.write_file("settings.json", json.stringify(settings))
|
||||
else
|
||||
gettingKey = tonumber(key)
|
||||
end
|
||||
end
|
||||
else
|
||||
keybinds[gettingKey] = key
|
||||
|
Reference in New Issue
Block a user