From 684c6861f8dcf2bf711159408a625b1f9489d9b1 Mon Sep 17 00:00:00 2001 From: vtcifer Date: Wed, 4 Sep 2024 10:32:43 -0400 Subject: [PATCH] resolve mismatch of return value in DRCM.deposit_coins Resolves rpherbig/dr-scripts/#6908 --- safe-room.lic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safe-room.lic b/safe-room.lic index aca216ae89..eaa12d3b67 100644 --- a/safe-room.lic +++ b/safe-room.lic @@ -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)