fix: achievements crashes

This commit is contained in:
Byte
2026-06-24 22:27:22 +02:00
parent 028dcdce41
commit e7a44db374
8 changed files with 16 additions and 11 deletions
+2 -2
View File
@@ -527,8 +527,8 @@ void Stats::buildAdditionalStats()
generalStat->postConstruct();
}
biomesVisisted = StatArray(23);
for (unsigned int i = 0; i < 23; i++)
biomesVisisted = StatArray(170);
for (unsigned int i = 0; i < 170; i++)
{
generalStat = new GeneralStat(offset++, L"biomesVisited." + std::to_wstring(i));
generalStats->push_back(generalStat);