chg: skip if not debug

This commit is contained in:
iceman1001 2017-12-02 18:59:47 +01:00
commit d54bb4ddf4
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,8 @@ local bxor = bit32.bxor
---
-- A debug printout-function
local function dbg(args)
if not DEBUG then return end
if type(args) == "table" then
local i = 1
while args[i] do