From ea4de6e988db55e37033b801d05b90b103fe8967 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Sun, 13 Oct 2024 17:42:24 +0200 Subject: [PATCH] Allow Element._reload in Children prop --- gfx/prop/children.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/prop/children.lua b/gfx/prop/children.lua index 7c6440d..17056ae 100644 --- a/gfx/prop/children.lua +++ b/gfx/prop/children.lua @@ -149,7 +149,7 @@ function Children:with(elementType) end function elementType:_reload() - if defaultReload ~= nil and defaultReload ~= Element._reload then + if defaultReload ~= nil then defaultReload(self) end