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
@@ -16,12 +16,12 @@ void Stat::_init()
awardLocallyOnly = false;
}
Stat::Stat(int id, const wstring& name, StatFormatter *formatter) : id(id), name(name), formatter(formatter)
Stat::Stat(int id, const wstring& name1, StatFormatter *formatter) : id(id), name(name1), formatter(formatter)
{
_init();
}
Stat::Stat(int id, const wstring& name) : id(id), name(name), formatter(defaultFormatter)
Stat::Stat(int id, const wstring& name1) : id(id), name(name1), formatter(defaultFormatter)
{
_init();
}