Update ui_scripting.cpp
Co-Authored-By: Vlad Loktionov <13555921+VladWinner@users.noreply.github.com>
This commit is contained in:
parent
e43ae321c0
commit
e45324ad32
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user