From 3b4fa54235ce612410d0f15ea7a83090031e4498 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 24 Jul 2015 20:34:31 +0200 Subject: [PATCH] REM: Remove a double pasted section of local variables. --- client/scripts/tnp3sim.lua | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/client/scripts/tnp3sim.lua b/client/scripts/tnp3sim.lua index 4e10eb75..fa9d1c22 100644 --- a/client/scripts/tnp3sim.lua +++ b/client/scripts/tnp3sim.lua @@ -30,17 +30,6 @@ local TIMEOUT = 2000 -- Shouldn't take longer than 2 seconds local DEBUG = false -- the debug flag local RANDOM = '20436F707972696768742028432920323031302041637469766973696F6E2E20416C6C205269676874732052657365727665642E20' -local band = bit32.band -local bor = bit32.bor -local lshift = bit32.lshift -local rshift = bit32.rshift -local byte = string.byte -local char = string.char -local sub = string.sub -local format = string.format - - - local band = bit32.band local bor = bit32.bor local lshift = bit32.lshift @@ -71,6 +60,7 @@ end -- This is only meant to be used when errors occur function oops(err) print("ERROR: ",err) + return nil,err end --- -- Usage help -- 2.39.5