Re-fixed bug (Stupid bug)

This commit is contained in:
Billy S 2018-12-23 17:42:51 -05:00 committed by GitHub
parent 8dfedb35e6
commit 2ae1165c06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,7 +292,7 @@ local function draw_input(self, name, x,y, as_line)
end
end
else -- Draw just single point.
if self.grid then
if self.grid and self.grid[x] and self.grid[x][y] then
self.grid[x][y] = colors[name]
end
end