From a4813e250b25ddaff93e1bd74fa0a4ef9afbc2cf Mon Sep 17 00:00:00 2001 From: "p.kosyh" Date: Fri, 18 Sep 2009 05:33:31 +0000 Subject: [PATCH] fix in stead --- stead/stead.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stead/stead.lua b/stead/stead.lua index b2fb4d0..abd8946 100644 --- a/stead/stead.lua +++ b/stead/stead.lua @@ -877,7 +877,7 @@ function player_use(self, what, onwhat) end obj2 = ref(self.where):srch(onwhat); if not obj2 then - obj2 = self.obj:srch(onwhat); + obj2 = self:srch(onwhat); end if not obj2 or obj2 == obj then return game.err, false;