Fix luacontroller: attempt to perform arithmetic on global 'print_count' (a nil value)

This commit is contained in:
Jeija 2014-11-25 19:53:29 +01:00
parent 4bd9d2a9ec
commit 2a51e40af9

@ -172,11 +172,6 @@ local function safe_print(param)
print(dump(param))
end
minetest.register_globalstep(function(dtime)
print_count = print_count - dtime
end)
local function remove_functions(x)
local tp = type(x)
if tp == "table" then