diff --git a/main.lua b/main.lua index d2c7d6e..eef08f1 100644 --- a/main.lua +++ b/main.lua @@ -12,7 +12,7 @@ function love.load() config["side_next"] = false config["reverse_rotate"] = true config["fullscreen"] = false - config["das_last_key"] = false + config["das_last_key"] = config.gamesettings.das_last_key == 2 love.window.setMode(love.graphics.getWidth(), love.graphics.getHeight(), {resizable = true}); diff --git a/scene/game_config.lua b/scene/game_config.lua index b921dd3..6d50581 100644 --- a/scene/game_config.lua +++ b/scene/game_config.lua @@ -9,6 +9,7 @@ ConfigScene.options = { {"manlock", "Manual locking",{"Per ruleset","Per gamemode","Harddrop", "Softdrop"}}, {"piece_colour", "Piece Colours", {"Per ruleset","Arika" ,"TTC"}}, {"world_reverse","A Button Rotation", {"Left" ,"Auto" ,"Right"}}, + {"das_last_key", "DAS Switch", {"Default", "Instant"}} } local optioncount = #ConfigScene.options @@ -24,6 +25,7 @@ function ConfigScene:new() end function ConfigScene:update() + config["das_last_key"] = config.gamesettings.das_last_key == 2 end function ConfigScene:render()