From 81e6eaaa0704a7d5b3e15b74ac019b79eea6c311 Mon Sep 17 00:00:00 2001 From: LDDestroier Date: Fri, 16 Nov 2018 14:17:51 -0500 Subject: [PATCH] Update tron --- tron | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tron b/tron index ed62ad6..b3e0ee8 100644 --- a/tron +++ b/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