From e9d33bdc02a3c36997904d6f21499e9a4d7b38a2 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Mon, 21 May 2018 11:16:56 -0700 Subject: [PATCH] Skip reparenting if parent is the same --- plugin/src/Reconciler.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/src/Reconciler.lua b/plugin/src/Reconciler.lua index b69929fa..49b7bfba 100644 --- a/plugin/src/Reconciler.lua +++ b/plugin/src/Reconciler.lua @@ -10,6 +10,10 @@ end local function reparent(rbx, parent) if rbx then + if rbx.Parent == parent then + return + end + -- It's possible that 'rbx' is a service or some other object that we -- can't change the parent of. That's the only reason why Parent would -- fail except for rbx being previously destroyed!