mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
Fixed Bug In Center Gui
This commit is contained in:
@@ -50,7 +50,7 @@ function center._center.open(event)
|
|||||||
direction='vertical',
|
direction='vertical',
|
||||||
style=mod_gui.frame_style
|
style=mod_gui.frame_style
|
||||||
}
|
}
|
||||||
if player.gui.is_valid_sprite_path(center_frame.caption) then center_frame.caption = '' end
|
if is_type(center_frame.caption,'string') and player.gui.is_valid_sprite_path(center_frame.caption) then center_frame.caption = '' end
|
||||||
if is_type(_center.draw,'function') then
|
if is_type(_center.draw,'function') then
|
||||||
local success, err = pcall(_center.draw,_center,center_frame)
|
local success, err = pcall(_center.draw,_center,center_frame)
|
||||||
if not success then error(err) end
|
if not success then error(err) end
|
||||||
|
|||||||
Reference in New Issue
Block a user