diff --git a/bin/skins/Default/scripts/downloadscreen.lua b/bin/skins/Default/scripts/downloadscreen.lua index c0fcdbd65..4a8f87126 100644 --- a/bin/skins/Default/scripts/downloadscreen.lua +++ b/bin/skins/Default/scripts/downloadscreen.lua @@ -348,11 +348,7 @@ function button_pressed(button) else screenState = 0 end - end -end - -function key_pressed(key) - if key == 27 then --escape pressed + elseif button == game.BUTTON_BCK then dlcache = io.open(cachepath, "w") dlcache:write(json.encode(downloaded)) dlcache:close() @@ -360,6 +356,9 @@ function key_pressed(key) end end +function key_pressed(key) +end + function advance_selection(steps) if screenState == 0 and #songs > 0 then