Skip to content

Commit

Permalink
Fix luacontroller: attempt to perform arithmetic on global 'print_cou…
Browse files Browse the repository at this point in the history
…nt' (a nil value)
  • Loading branch information
Jeija committed Nov 25, 2014
1 parent 4bd9d2a commit 2a51e40
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mesecons_luacontroller/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 2a51e40

Please sign in to comment.