1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-21 23:00:22 +02:00

pass outlet position to particle handler as a table rather than separate vars

This commit is contained in:
Vanessa Ezekowitz
2015-05-10 22:34:30 -04:00
parent b5433d8c39
commit e010bdeb27
3 changed files with 6 additions and 12 deletions

View File

@ -39,9 +39,9 @@ function homedecor.start_particle_spawner(pos, node, particledef, soundname)
if fdir and fdir < 4 and (not id or id == 0) then
local outletx = particledef.outlet_x
local outlety = particledef.outlet_y
local outletz = particledef.outlet_z
local outletx = particledef.outlet.x
local outlety = particledef.outlet.y
local outletz = particledef.outlet.z
local velocityx = particledef.velocity_x
local velocityy = particledef.velocity_y
local velocityz = particledef.velocity_z