Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions logic/Location.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ std::string Location::getName() const
// Calculates whether the current item can be barren given it's placement at this specific location in mind
bool Location::currentItemCanBeBarren() const
{
if (currentItem.getGameItemId() == GameItem::GameBeatable)
{
return false;
}

if (currentItem.canBeInBarrenRegion())
{
return true;
Expand Down