From 21bb78c7af38541eec0e5ed40920a164c4e187fb Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Sun, 11 Nov 2018 13:15:18 +0000 Subject: [PATCH] localize gameElapsed in ctfws.lua --- ctfws.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctfws.lua b/ctfws.lua index b543850..34c7c96 100644 --- a/ctfws.lua +++ b/ctfws.lua @@ -42,7 +42,7 @@ local function times(self, nowf) return 0, self.setupD, elapsed, elapsed -- treat setup (round 0) as a self-contained "game" end - gameElapsed = elapsed - self.setupD + local gameElapsed = elapsed - self.setupD local rounds = math.floor(gameElapsed / self.roundD) if rounds >= self.rounds -- 2.50.1