1
0

fixed open inventory crash (#5233)

This commit is contained in:
12xx12 2021-06-06 22:49:18 +02:00 committed by GitHub
parent e5fc65264b
commit 1322b0c4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ bool StatisticsManager::SatisfiesPrerequisite(const CustomStatistic a_Stat) cons
{
switch (a_Stat)
{
case CustomStatistic::AchOpenInventory: return true;
case CustomStatistic::AchMineWood: return IsStatisticPresent(CustomStatistic::AchOpenInventory);
case CustomStatistic::AchBuildWorkBench: return IsStatisticPresent(CustomStatistic::AchMineWood);
case CustomStatistic::AchBuildHoe: return IsStatisticPresent(CustomStatistic::AchBuildWorkBench);