mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 02:10:18 +01:00
Fix luacontroller: attempt to perform arithmetic on global 'print_count' (a nil value)
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user