esp: fix cheat registration
We should merge dragonfire sometime :]
This commit is contained in:
parent
4cb4d124f5
commit
0b535363ab
@ -64,6 +64,8 @@ minetest.register_globalstep(function()
|
||||
end
|
||||
end)
|
||||
|
||||
if (_G["minetest"]["register_cheat"] == nil) then
|
||||
if (_G["minetest"]["register_cheat"] ~= nil) then
|
||||
minetest.register_cheat("NodeESP", "Render", "espactive")
|
||||
else
|
||||
minetest.settings:set_bool('espactive',true)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user