From 7155314fa5d782ab2105231c729e1cedd5a91de9 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 8 Apr 2018 17:09:07 +0100 Subject: [PATCH] Added Close Info --- ExpCore/sync.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ExpCore/sync.lua b/ExpCore/sync.lua index c67ff0e9..8a007999 100644 --- a/ExpCore/sync.lua +++ b/ExpCore/sync.lua @@ -290,6 +290,7 @@ function Sync._load() caption=info.server_description,style='description_label' } Gui.bar(frame,600) + local _frame = frame local frame = frame.add{ type='frame', direction='vertical', @@ -297,7 +298,7 @@ function Sync._load() } frame.style.width = 600 local text_flow = frame.add{type='flow',direction='vertical'} - local button_flow = frame.add{type='table',column_count=3} + local button_flow = frame.add{type='table',column_count=4} for _,element in pairs(table.deepcopy(Sync_gui_functions)) do local _type = table.remove(element,1) if _type == 'function' then @@ -312,6 +313,11 @@ function Sync._load() elseif _type == 'string' then text_flow.add{type='label',caption=tostring(element[1])} elseif _type == 'table' then text_flow.add{type='label',caption=element[1]} end end + _frame.add{ + type='label', + caption='Press Ecs or E to close; this is only visible once!', + style='fake_disabled_label' + } end} end