From bbc3ac512af5ee49f7bfa728d77e11b32ce8d584 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Tue, 21 Mar 2017 17:32:25 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A4=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8F=20ma?= =?UTF-8?q?xn=20=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20getn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools.lua b/tools.lua index 0994ec9..5201a0a 100644 --- a/tools.lua +++ b/tools.lua @@ -52,7 +52,7 @@ init = function () char.act = nil place( proxy_menu { disp = function() - if table.getn( here().obj ) > 0 then + if stead.table.maxn(here().obj) > 0 then return 'ОСМОТРЕТЬ'; end return false @@ -84,7 +84,7 @@ init = function () ]] place( proxy_menu { disp = function() - if table.getn( here().obj ) > 0 then + if stead.table.maxn( here().obj ) > 0 then return 'ГОВОРИТЬ С'; end return false