Update tron

This commit is contained in:
LDDestroier 2018-11-14 19:36:19 -05:00 committed by GitHub
parent 93430ea139
commit 9cf44d6bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

3
tron
View File

@ -817,7 +817,6 @@ while true do
grid = deepCopy(initGrid)
resetPlayers()
you, nou = 1, 2
scrollX, scrollY = player[you].x - math.floor(scr_x / 2), player[you].x - math.floor(scr_y / 2)
gamename = ""
for i = 1, 32 do
gamename = gamename .. string.char(math.random(1,126))
@ -831,6 +830,8 @@ while true do
grid = initGrid
})
parallel.waitForAny(pleaseWait, networking)
scrollX = player[you].x - math.floor(scr_x / 2)
scrollY = player[you].y - math.floor(scr_y / 2)
startCountdown()
parallel.waitForAny(getInput, game, networking)
elseif decision == "help" then