mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-08 08:20:27 +00:00
Update tron
This commit is contained in:
parent
d3464eedef
commit
81e6eaaa07
4
tron
4
tron
@ -596,7 +596,7 @@ local makeMenu = function(x, y, options, doAnimate)
|
||||
return cpos
|
||||
end
|
||||
elseif evt[1] == "timer" and evt[2] == gstID then
|
||||
gstID = os.startTimer(0.05)
|
||||
gstID = os.startTimer(gameDelayInit)
|
||||
drawGrid(gsX, gsY, true, true)
|
||||
step = step + 1
|
||||
if mathceil(step / 100) % 2 == 1 then
|
||||
@ -855,7 +855,7 @@ local networking = function()
|
||||
if msg.new < os.time() then
|
||||
gamename = msg.gameID
|
||||
isHost = false
|
||||
gameDelay = tonumber(msg.gameDelay) or 0.05
|
||||
gameDelay = tonumber(msg.gameDelay) or gameDelayInit
|
||||
grid = msg.grid or deepCopy(initGrid)
|
||||
else
|
||||
you, nou = nou, you
|
||||
|
Loading…
Reference in New Issue
Block a user