fixed open inventory crash (#5233)
This commit is contained in:
parent
e5fc65264b
commit
1322b0c4d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user