From bd8b39881b92963f08a3b0fb90a75e848d419562 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Tue, 29 Nov 2011 22:08:01 +0000 Subject: [PATCH] fix git-svn-id: http://svn.net-core.org/repos/t-engine4@4706 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/class/Store.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/class/Store.lua b/game/modules/tome/class/Store.lua index 7538a5f422..9cdce4a275 100644 --- a/game/modules/tome/class/Store.lua +++ b/game/modules/tome/class/Store.lua @@ -79,7 +79,7 @@ end --- Checks if the given entity is allowed function _M:allowStockObject(e) - local price = self:getObjectPrice(o, "buy") + local price = self:getObjectPrice(e, "buy") return price > 0 end -- GitLab