1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-08-29 09:02:27 +00:00

Update tron

This commit is contained in:
LDDestroier
2018-11-15 22:27:21 -05:00
committed by GitHub
parent 58c9adf123
commit 03cf6fa7fc

1
tron
View File

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