1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-10-30 23:12:59 +00:00

Update tron

This commit is contained in:
LDDestroier
2018-11-15 22:29:28 -05:00
committed by GitHub
parent 6819520272
commit 3ae9b7b1a2

2
tron
View File

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