From f69f92c82611407112c7b13b9dd60ce212514a3f Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Fri, 15 Dec 2017 18:19:29 +0000 Subject: [PATCH] Fixed The Nil Call --- locale/ExpCore/GuiParts/inputs.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/locale/ExpCore/GuiParts/inputs.lua b/locale/ExpCore/GuiParts/inputs.lua index ca4d5cec..10b162be 100644 --- a/locale/ExpCore/GuiParts/inputs.lua +++ b/locale/ExpCore/GuiParts/inputs.lua @@ -82,6 +82,7 @@ function inputs._event_handler(event) element = elements[event.element.name] end if element then + if not is_type(element.events[event.name],'function') then return end local success, err = pcall(element.events[event.name],event) if not success then if is_type(element._error,'function') then pcall(element._error)