From 96905234b4d2659ab630362171c4b05176acd214 Mon Sep 17 00:00:00 2001 From: Max G Date: Mon, 11 Nov 2019 18:12:06 -0600 Subject: [PATCH] Mount safechat menu to the correct parent object. --- UI/SafeChat/SafeChat.client.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/SafeChat/SafeChat.client.lua b/UI/SafeChat/SafeChat.client.lua index 4260f77..039e305 100644 --- a/UI/SafeChat/SafeChat.client.lua +++ b/UI/SafeChat/SafeChat.client.lua @@ -63,8 +63,8 @@ local function activateRootTree() chatButton.Image = IMG_CHAT_DN if UserInputService:GetLastInputType() == Enum.UserInputType.Gamepad1 then - GuiService:AddSelectionParent("SafeChatNav", safeChat) - GuiService.SelectedObject = safeChat + GuiService:AddSelectionParent("SafeChatNav", chatButton) + GuiService.SelectedObject = chatButton end end @@ -124,7 +124,7 @@ local function assembleTree(tree) end rootTree = assembleTree(safeChatTree) -rootTree.Parent = safeChat +rootTree.Parent = chatButton ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -- Button State @@ -195,4 +195,4 @@ local function onInputBegan(input) end end -UserInputService.InputBegan:Connect(onInputBegan) \ No newline at end of file +UserInputService.InputBegan:Connect(onInputBegan)