Skip to content

Commit

Permalink
Update src/game/game.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 authored Oct 14, 2024
1 parent 671a5d5 commit 7c1f3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1858,7 +1858,7 @@ ReturnValue Game::checkMoveItemToCylinder(std::shared_ptr<Player> player, std::s

const auto containerToStow = isTryingToStow(toPos, toCylinder);

if (containerID == ITEM_GOLD_POUCH) {
if (containerID == ITEM_GOLD_POUCH && !containerToStow) {
if (g_configManager().getBoolean(TOGGLE_GOLD_POUCH_QUICKLOOT_ONLY)) {
return RETURNVALUE_CONTAINERNOTENOUGHROOM;
}
Expand Down

0 comments on commit 7c1f3c0

Please sign in to comment.