1
0
ミラー元 https://github.com/HybridDog/nether-pack.git 前回の同期 2025-10-29 15:55:23 +01:00

add support to the function delayer mod

このコミットが含まれているのは:
HybridDog
2016-05-04 18:36:22 +02:00
コミット 03da51be24
2個のファイルの変更4行の追加1行の削除

ファイルの表示

@@ -4,4 +4,5 @@ riesenpilz
stairs
vector_extras
fence_registration?
function_delayer?
watershed?

ファイルの表示

@@ -224,9 +224,11 @@ if nether_prisons then
end
end
-- the function delayer mod works similar to a scheduler
local delay_function = minetest.delay_function or minetest.after
local function tick()
update_players()
minetest.after(2, tick)
minetest.after(0.5, function() delay_function(1.5, tick) end)
end
tick()