mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-25 02:00:37 +01:00
[lavatemple] Reduce Dagger update rate to 1sec
This commit is contained in:
parent
949157e087
commit
1e6b0d0305
@ -1,6 +1,7 @@
|
|||||||
-- Based on compass mod by Echo
|
-- Based on compass mod by Echo
|
||||||
|
|
||||||
minetest.register_globalstep(function(dtime)
|
local function tick()
|
||||||
|
minetest.after(1, tick)
|
||||||
local players = minetest.get_connected_players()
|
local players = minetest.get_connected_players()
|
||||||
for i,player in ipairs(players) do
|
for i,player in ipairs(players) do
|
||||||
local target = lavatemple.mapgen_data.pos;
|
local target = lavatemple.mapgen_data.pos;
|
||||||
@ -27,7 +28,9 @@ minetest.register_globalstep(function(dtime)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end
|
||||||
|
|
||||||
|
tick()
|
||||||
|
|
||||||
local images = {
|
local images = {
|
||||||
"lavatemple_dagger_0.png",
|
"lavatemple_dagger_0.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user