Skip to content

Commit

Permalink
Merge branch 'main' into luan/fix-tenebris
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas authored Nov 8, 2023
2 parents 1bc96d1 + c7b582b commit cb788d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/bank/bank.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool Bank::transferTo(const std::shared_ptr<Bank> destination, uint64_t amount)
return false;
}
if (destinationBankable->getPlayer() != nullptr) {
auto player = bankable->getPlayer();
auto player = destinationBankable->getPlayer();
auto name = asLowerCaseString(player->getName());
replaceString(name, " ", "");
if (deniedNames.contains(name)) {
Expand Down

0 comments on commit cb788d3

Please sign in to comment.