From ef05a48522c464c6b12fb0610285e650c3ff0830 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Thu, 16 Sep 2021 20:40:43 +0200 Subject: [PATCH] fix: fix newFunc function --- sonic-radiance.love/birb/modules/gui/elements/parent.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonic-radiance.love/birb/modules/gui/elements/parent.lua b/sonic-radiance.love/birb/modules/gui/elements/parent.lua index 2083f3e..cb369a6 100644 --- a/sonic-radiance.love/birb/modules/gui/elements/parent.lua +++ b/sonic-radiance.love/birb/modules/gui/elements/parent.lua @@ -101,8 +101,8 @@ function GuiElement:newSwitch(start, bools) self.tweens:newSwitch(start, bools) end -function GuiElement:newFunc(start, func) - self.tweens:newFunc(start, func) +function GuiElement:newFunc(start, name, func) + self.tweens:newFunc(start, name, func) end function GuiElement:delayFocus(start)