Skip to content
Snippets Groups Projects
Commit b60b661e authored by DarkGod's avatar DarkGod
Browse files

particles can call sub particles in their args too

parent 47601724
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,8 @@ function _M:loaded()
local base_size = nil
local gl = nil
local islast = false
local sub_particle = nil
local sub_particle_args = nil
local sub_particle = self.args.sub_particle
local sub_particle_args = self.args.sub_particle_args
if type(self.def) == "string" then
local f, err = loadfile("/data/gfx/particles/"..self.def..".lua")
if not f and err then error(err) end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment