newdash: Fix crash on missing at state
parent
62527b727b
commit
aac427a19c
|
@ -89,6 +89,7 @@ function node:render()
|
|||
love.graphics.setFont(headerFont)
|
||||
love.graphics.printf("at hackerspace:", 50, 593, 300, 'left')
|
||||
love.graphics.setFont(atFont)
|
||||
users = {}
|
||||
if self.state.at then
|
||||
users = lume.map(self.state.at.users, function(v) return v.login end)
|
||||
if self.state.at.unknown > 0 then
|
||||
|
|
Loading…
Reference in New Issue