Finnaila Edits

This commit is contained in:
Cooldude2606
2017-12-24 21:29:04 +00:00
parent 4796373820
commit 97b6a8244d
2 changed files with 5 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ end)
local function test_gui(event)
if not game.player and not event.player_index then return end
local player = game.player or Game.get_player(event)
if mod_gui.get_frame_flow(player)['gui-test'] thenmod_gui.get_frame_flow(player)['gui-test'].destroy() end
if mod_gui.get_frame_flow(player)['gui-test'] then mod_gui.get_frame_flow(player)['gui-test'].destroy() end
local frame = mod_gui.get_frame_flow(player).add{type='frame',name='gui-test',direction='vertical'}
gui_tset_close:draw(frame)
caption_test:draw(frame)