Module:Arcaea Data:修订间差异

添加48字节 、​ 2024年10月4日 (星期五)
忽略song.deleted
(修复一处小问题,希望没事)
(忽略song.deleted)
 
第368行: 第368行:
    if indexTyped == "id" then
    if indexTyped == "id" then
      for i, k in ipairs(json['songs']) do
      for i, k in ipairs(json['songs']) do
        if k['id'] == index then info = k end
        if not k.deleted and k['id'] == index then info = k break end
      end
      end
    else
    else
      for i, k in ipairs(json['songs']) do
      for i, k in ipairs(json['songs']) do
        if string.lower(k['title_localized']['en']) == string.lower(index) then info = k end
        if not k.deleted and string.lower(k['title_localized']['en']) == string.lower(index) then info = k break end
      end
      end
    end
    end
970

个编辑