Fix textboxes

This commit is contained in:
luk3yx 2018-03-25 11:55:33 +13:00
parent b8c8649c94
commit c58fc816a5
1 changed files with 1 additions and 1 deletions

View File

@ -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)