Mount safechat menu to the correct parent object.

This commit is contained in:
Max G 2019-11-11 18:12:06 -06:00 committed by GitHub
parent 498eb67312
commit 96905234b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -63,8 +63,8 @@ local function activateRootTree()
chatButton.Image = IMG_CHAT_DN chatButton.Image = IMG_CHAT_DN
if UserInputService:GetLastInputType() == Enum.UserInputType.Gamepad1 then if UserInputService:GetLastInputType() == Enum.UserInputType.Gamepad1 then
GuiService:AddSelectionParent("SafeChatNav", safeChat) GuiService:AddSelectionParent("SafeChatNav", chatButton)
GuiService.SelectedObject = safeChat GuiService.SelectedObject = chatButton
end end
end end
@ -124,7 +124,7 @@ local function assembleTree(tree)
end end
rootTree = assembleTree(safeChatTree) rootTree = assembleTree(safeChatTree)
rootTree.Parent = safeChat rootTree.Parent = chatButton
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Button State -- Button State