Update tron

This commit is contained in:
LDDestroier 2018-11-15 22:27:21 -05:00 committed by GitHub
parent 58c9adf123
commit 03cf6fa7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

1
tron
View File

@ -241,6 +241,7 @@ end
local drawImage = function(im, x, y)
local cx, cy = term.getCursorPos()
term.setBackgroundColor(grid.voidvol)
for iy = 1, #im[1] do
for ix = 1, #im[1][iy] do
term.setCursorPos(x+(ix-1),y+(iy-1))