1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-01 08:27:45 +00:00

Fix the "A Realm Reborn" expansion text never being fetched

This commit is contained in:
Joshua Goins 2025-04-29 15:12:07 -04:00
parent e7ae19da6e
commit 58c304086c

View file

@ -99,7 +99,7 @@ void Profile::readGameData()
const physis_EXD exd = physis_gamedata_read_excel_sheet(m_gameData, "ExVersion", exh, Language::English, 0);
// TODO: bad API, we should instead get a list of row ids from libphysis but that API doesn't exist yet.
for (unsigned int i = 1; i < exd.row_count + 1; i++) {
for (unsigned int i = 0; i < exd.row_count; i++) {
auto rows = physis_exd_read_row(&exd, i);
for (int j = 0; j < rows.row_count; j++) {
auto row = rows.row_data[j];