fix: achievement crashes

WARNING: LIKELY TO CLEAR ACHIEVEMENTS THAT YOU HAVE ALREADY ACHIEVED (not that you could get that many with the crashes xd)
This commit is contained in:
SevenToaster509
2026-04-27 16:29:05 +01:00
parent b6345b1936
commit 41adc39b28
9 changed files with 15 additions and 13 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();
}