Skip to content

Commit

Permalink
resolve mismatch of return value in DRCM.deposit_coins
Browse files Browse the repository at this point in the history
Resolves rpherbig/dr-scripts/#6908
  • Loading branch information
vtcifer committed Sep 4, 2024
1 parent 1d6c756 commit 684c686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safe-room.lic
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class SafeRoom
wait_at_empath(hometown['npc_empath']['id'])
DRC.fix_standing
if (settings.hometown != hometown_name)
bank_amount = DRCM.deposit_coins(0, settings, hometown_name)
bank_amount, _ = DRCM.deposit_coins(0, settings, hometown_name)
if @keep_bank_amount && bank_amount > @keep_bank_amount
DRCM.minimize_coins(bank_amount - @keep_bank_amount).each { |amount|
DRCM.withdraw_exact_amount?(amount, settings, hometown_name)
Expand Down

0 comments on commit 684c686

Please sign in to comment.