Update ui_scripting.cpp

Co-Authored-By: Vlad Loktionov <13555921+VladWinner@users.noreply.github.com>
This commit is contained in:
fed 2023-04-14 18:51:50 +02:00
parent e43ae321c0
commit e45324ad32

View File

@ -690,7 +690,7 @@ namespace ui_scripting
achievements::achievement_file_t file{};
achievements::get_achievements(&file);
for (auto i = 0; i < achievements::ACHIEVEMENT_COUNT; i++)
for (auto i = 0; i < achievements::ACHIEVEMENT_TOTAL_COUNT; i++)
{
table[i] = file.achievements[i];
}