mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-26 02:30:38 +01:00
[runes] Remove buggy junk code
This commit is contained in:
parent
b3f66e6505
commit
52e89c9299
@ -216,22 +216,7 @@ register_glyph("watchdog", {
|
|||||||
minetest.get_node_timer(pos):start(0.2)
|
minetest.get_node_timer(pos):start(0.2)
|
||||||
end,
|
end,
|
||||||
on_timer = function(pos, elapsed)
|
on_timer = function(pos, elapsed)
|
||||||
local vel = 2
|
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
if meta:get_int("charge") <= 0 then
|
|
||||||
minetest.add_particlespawner({
|
|
||||||
amount = 10,
|
|
||||||
minpos = pos, maxpos = pos,
|
|
||||||
minvel = vel, maxvel = vector.multiply(vel, 3),
|
|
||||||
minacc = 0, maxacc = 0,
|
|
||||||
minexptime = 3, maxexptime = 4,
|
|
||||||
minsize = 1, maxsize = 1,
|
|
||||||
collisiondetection = true,
|
|
||||||
vertical = false,
|
|
||||||
texture = "runes_glyph_watchdog.png",
|
|
||||||
})
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, ref in pairs(minetest.get_objects_inside_radius(pos, 3)) do
|
for _, ref in pairs(minetest.get_objects_inside_radius(pos, 3)) do
|
||||||
if ref and not ref:get_armor_groups().immortal then
|
if ref and not ref:get_armor_groups().immortal then
|
||||||
|
Loading…
Reference in New Issue
Block a user