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:
@@ -553,5 +553,7 @@ void Stats::buildAdditionalStats()
|
||||
|
||||
Stat *Stats::get(int key)
|
||||
{
|
||||
if (statsById->find(key) == statsById->end())
|
||||
return nullptr;
|
||||
return statsById->at(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user