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