From 58b0d1f6b8f9d189cb97825753222fe765405f47 Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Fri, 17 Nov 2023 10:12:31 -0500 Subject: [PATCH] Update LotJ_BankRebalance.xml to handle commas --- worlds/plugins/LotJ_BankRebalance.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/worlds/plugins/LotJ_BankRebalance.xml b/worlds/plugins/LotJ_BankRebalance.xml index 7494801..ace280f 100644 --- a/worlds/plugins/LotJ_BankRebalance.xml +++ b/worlds/plugins/LotJ_BankRebalance.xml @@ -15,7 +15,7 @@ save_state="y" date_written="2021-08-02 14:20:21" requires="5.06" - version="1.0" + version="1.0.1" > - ArraySet( 'BankAccounts', %1, %2 ) + + local amount = ( [==[%2]==] ):gsub( '%D', '' ) + ArraySet( 'BankAccounts', %1, tonumber( amount ) ) +