1
0
Fork 0
mirror of https://gitlab.com/Oreolek/duel.git synced 2024-07-07 09:14:27 +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 char.act = nil
place( proxy_menu { place( proxy_menu {
disp = function() disp = function()
if table.getn( here().obj ) > 0 then if stead.table.maxn(here().obj) > 0 then
return 'ОСМОТРЕТЬ'; return 'ОСМОТРЕТЬ';
end end
return false return false
@ -84,7 +84,7 @@ init = function ()
]] ]]
place( proxy_menu { place( proxy_menu {
disp = function() disp = function()
if table.getn( here().obj ) > 0 then if stead.table.maxn( here().obj ) > 0 then
return 'ГОВОРИТЬ С'; return 'ГОВОРИТЬ С';
end end
return false return false