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