Implemented facedir in the nyan cat rainbow
This commit is contained in:
parent
2d9f34cf29
commit
91849c3b4e
2 changed files with 4 additions and 2 deletions
|
@ -371,7 +371,7 @@ function default.make_nyancat(pos, facedir, length)
|
|||
for i=1,length do
|
||||
p.x = p.x + tailvec.x
|
||||
p.z = p.z + tailvec.z
|
||||
minetest.set_node(p, {name="default:nyancat_rainbow"})
|
||||
minetest.set_node(p, {name="default:nyancat_rainbow", param2=facedir})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue