fix: strange crash

really bad way of fixing it but I don't think it'll cause issues. i get it when flying around a ton, maybe its to do with the biomes achievement
This commit is contained in:
SevenToaster509 2026-04-27 08:00:26 +01:00
parent de1b069835
commit b6345b1936

View file

@ -553,5 +553,7 @@ void Stats::buildAdditionalStats()
Stat *Stats::get(int key)
{
if (statsById->find(key) == statsById->end())
return nullptr;
return statsById->at(key);
}