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
This commit is contained in:
Kan18
2019-08-02 16:24:15 -04:00
committed by GitHub
parent 0803b69bbe
commit 119d952860

View File

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