Fix bug so that Lua will display the boolean false correctly #51

Merged
Luca0208 merged 1 commits from develop-1.8-luafix into develop-1.8 2020-12-30 21:49:52 -05:00

View File

@@ -348,7 +348,7 @@ function page:executeStatement(statement)
term.redirect(oterm)
counter = counter + 1
if s and m then
if s and type(m) ~= "nil" then
self:setResult(m)
else
self.grid:setValues({ })