From c58fc816a5ae93291f4b0e29458b66ff6ff2eb4e Mon Sep 17 00:00:00 2001 From: luk3yx Date: Sun, 25 Mar 2018 11:55:33 +1300 Subject: [PATCH] Fix textboxes --- objects.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects.lua b/objects.lua index ce9c529..e85632e 100644 --- a/objects.lua +++ b/objects.lua @@ -150,7 +150,7 @@ end) -- name = 'message', -- } formspeclib.register_object('textbox', function(obj, safe_mode) - if obj.x or not obj.y or not obj.width or not obj.name then + if not obj.x or not obj.y or not obj.width or not obj.name then return false end local x = formspeclib.escape(obj.x)