1
0
Fork 0
mirror of https://gitlab.com/Oreolek/duel.git synced 2024-07-02 14:55:15 +03:00

Функция maxn вместо getn

This commit is contained in:
Alexander Yakovlev 2017-03-21 17:32:25 +07:00
parent 6849329518
commit bbc3ac512a

View file

@ -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