mirror of
https://gitlab.com/Oreolek/duel.git
synced 2024-07-07 09:14:27 +03:00
Функция maxn вместо getn
This commit is contained in:
parent
6849329518
commit
bbc3ac512a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue