Fix incorrect condition evaluated to register on_step

This commit is contained in:
Anand S 2019-01-05 07:04:12 +05:30
parent b21c47a6e3
commit 231f3498fd
No known key found for this signature in database
GPG Key ID: 3AD8A3C4A51AAB97

View File

@ -191,7 +191,7 @@ local function on_step(dtime)
end
end
if lite then
if not lite then
minetest.register_globalstep(on_step)
end