From 491a05d2fd0c519e0af4f48051ae2e490dee1844 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Mon, 6 Nov 2017 22:37:17 +0000 Subject: [PATCH] Fixed frame_data in global --- locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua b/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua index 78044e6f..211bea9e 100644 --- a/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua +++ b/locale/ExpGaming-Core/GUI/ExpGaming - Center Gui.lua @@ -31,7 +31,7 @@ end --Draw the center GUI for the player; do not call manually, must use other functions to call ExpGui.add_input.button('close_center',{'expgui.close-button'},{'expgui.close-button-tooltip'},function(player,element) element.parent.parent.parent.destroy() end) function draw_frame.center(player,element) - frame_data = frames.center[element.name] + local frame_data = frames.center[element.name] debug_write({'GUI','CENTER'},player.name..' '..frame_data.name) --setup so nothing will break (name is set as caption if display a sprite) if player.gui.is_valid_sprite_path(frame_data.display) then frame_data.display = frame_data.name end