Skip to content

Commit

Permalink
add names for path chests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Feb 20, 2024
1 parent cadf803 commit 831073f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/layers/RewardHistory/RewardCell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ std::string RewardCell::getDisplayName() {
return fmt::format("{} Gauntlet", GauntletNode::nameForType((GauntletType) BetterInfo::stoi(key)));
}

/**
* Path chests
*/
if(key[0] == 'p' && key[1] == 'r' && key[2] == '_') {
key = key.substr(3);
return fmt::format("{} Path", GJPathsLayer::nameForPath(BetterInfo::stoi(key)));
}

/**
* Other chests
*/
Expand Down

0 comments on commit 831073f

Please sign in to comment.