From c866dc92e5f29f64ba50841fe75b14f7c1e45f18 Mon Sep 17 00:00:00 2001 From: Steffen Date: Fri, 16 Jan 2015 21:12:56 +0100 Subject: [PATCH] Fix for issue #16: Bank not synced when exiting game --- BagSync.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BagSync.lua b/BagSync.lua index 1e6f250..026481c 100644 --- a/BagSync.lua +++ b/BagSync.lua @@ -1255,6 +1255,7 @@ function BagSync:BAG_UPDATE(event, bagid) return end + if bagname == 'bank' and not atBank then return; end --now save the item information in the bag from bagupdate, this could be bag or bank SaveBag(bagname, bagid) @@ -1469,4 +1470,4 @@ function BagSync:TRADE_SKILL_SHOW() end end -end \ No newline at end of file +end -- 1.7.9.5