Skip to content

Commit

Permalink
Fixed double declared variable at bank NPC (#3897)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego-OT authored and DSpeichert committed May 9, 2022
1 parent 2ab6a2f commit dae5646
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion data/npc/scripts/bank.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dae5646

Please sign in to comment.