Skip to content

Commit cb14f0b

Browse files
authored
Merge pull request #136 from gymnast86/main
Fix GameBeatable not being checked properly for barrenness
2 parents b7aea73 + 983ded2 commit cb14f0b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

logic/Location.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ std::string Location::getName() const
134134
// Calculates whether the current item can be barren given it's placement at this specific location in mind
135135
bool Location::currentItemCanBeBarren() const
136136
{
137+
if (currentItem.getGameItemId() == GameItem::GameBeatable)
138+
{
139+
return false;
140+
}
141+
137142
if (currentItem.canBeInBarrenRegion())
138143
{
139144
return true;

0 commit comments

Comments
 (0)