modified: nssm_weapons.lua

This commit is contained in:
npx 2016-05-10 23:24:00 +02:00
parent 3d94a86643
commit 685c076443

View File

@ -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