1
0
Fork 0
mirror of https://gitlab.com/Oreolek/duel.git synced 2024-06-23 18:40:54 +03:00

Исправление проблемы #4 (телефон)

This commit is contained in:
Alexander Yakovlev 2017-03-31 16:42:37 +07:00
parent d8ba5e6f73
commit 939726bb42
2 changed files with 8 additions and 8 deletions

View file

@ -32,7 +32,13 @@ init = function ()
end
}, me())
place(menu {
nam = "Телефон",
nam = 'телефон',
disp = function()
if char.call ~= nil then
return fmt.b("Телефон")
end
return "Телефон"
end,
menu = function()
walk('inventory')
end

8
ui.lua
View file

@ -126,13 +126,7 @@ dlg {
dlg {
nam = 'inventory',
disp = function()
-- TODO почему-то не выделяет жирным
if char.call ~= nil then
return fmt.b("Телефон")
end
return "Телефон"
end,
disp = "Телефон",
noinv = true,
enter = function()
local walkto = nil