Multiple small fixes

- Turn the planet lighting actions from mixed case to lower case
 - Fix the openspace.rebindKey Lua function which did not work before
 - Fix the openspace.downloadFile function which would fail when not waiting for the the result
 - Rename openspace.walkDirectoryFolder to openspace.walkDirectoryFolders for consistency
 - Remove the openspace.saveLastChangeToProfile function
This commit is contained in:
Alexander Bock
2022-05-06 16:13:21 -04:00
parent f3c6a7e615
commit 970536998a
5 changed files with 20 additions and 103 deletions

View File

@@ -76,7 +76,7 @@ openspace.setDefaultGuiSorting = function()
end
openspace.rebindKey = function(oldKey, newKey)
local t = openspace.getKeyBinding(oldKey)
local t = openspace.keyBindings(oldKey)
openspace.clearKey(oldKey)
for _, v in pairs(t) do
openspace.bindKey(newKey, v)