Updated DAS last key setting to not use hacky workaround

DAS last key is off by default
This commit is contained in:
Ishaan Bhardwaj
2021-02-22 21:43:01 -05:00
parent 4c4a818c5c
commit b15cd9802f
3 changed files with 5 additions and 9 deletions

View File

@@ -378,7 +378,7 @@ function GameMode:stopDAS()
end
function GameMode:chargeDAS(inputs)
if config["das_last_key"] then
if config.gamesettings.das_last_key == 2 then
if inputs["right"] == true and self.das.direction ~= "right" and not self.prev_inputs["right"] then
self:startRightDAS()
elseif inputs["left"] == true and self.das.direction ~= "left" and not self.prev_inputs["left"] then