From 119d9528600312f47abf0b165cb49f39816b30ae Mon Sep 17 00:00:00 2001 From: Kan18 <24967425+Kan18@users.noreply.github.com> Date: Fri, 2 Aug 2019 16:24:15 -0400 Subject: [PATCH] fix milo setup crash I've applied to this to my milo because I thought it was a one-off thing, however when setting up a new milo turtle I noticed that the crash also happened, so this fixes it --- milo/core/machines.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milo/core/machines.lua b/milo/core/machines.lua index a6185e7..b29a60b 100644 --- a/milo/core/machines.lua +++ b/milo/core/machines.lua @@ -143,7 +143,7 @@ function networkPage:applyFilter() return v.mtype ~= 'hidden' end) - if #self.filter.value > 0 then + if self.filter.value and #self.filter.value > 0 then local filter = self.filter.value:lower() t = Util.filter(t, function(v) return v.displayName and -- 2.49.1