From dae5646dd8ff3d0db61d7efb94a5b020c5e0bece Mon Sep 17 00:00:00 2001 From: Diego-OT <52421038+Diego-OT@users.noreply.github.com> Date: Sun, 16 Jan 2022 16:44:56 -0300 Subject: [PATCH] Fixed double declared variable at bank NPC (#3897) --- data/npc/scripts/bank.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/data/npc/scripts/bank.lua b/data/npc/scripts/bank.lua index 355c64b1f0..865534c601 100644 --- a/data/npc/scripts/bank.lua +++ b/data/npc/scripts/bank.lua @@ -71,7 +71,6 @@ local function creatureSayCallback(cid, type, msg) return false end if msgcontains(msg, "all") then - count[cid] = player:getMoney() npcHandler:say("Would you really like to deposit " .. count[cid] .. " gold?", cid) npcHandler.topic[cid] = topicList.DEPOSIT_CONSENT return true