modified: nssm_weapons.lua
This commit is contained in:
parent
3d94a86643
commit
685c076443
@ -541,6 +541,9 @@ nssm_register_weapon("light_ball", {
|
||||
|
||||
if last_pos == nil or (last_pos ~= nil and last_pos ~= pos) then
|
||||
minetest.set_node(pos, {name="nssm:invisible_light"})
|
||||
if last_pos ~= nil then
|
||||
minetest.set_node(last_pos, {name="air"})
|
||||
end
|
||||
last_pos = pos
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user