diff --git a/game/engines/default/engine/Particles.lua b/game/engines/default/engine/Particles.lua index 36c8e22c17094dce0a78f850d1f9b574b318a70b..e321be0d8d3c83af87bdd73fcfb1961a7c6a04f9 100644 --- a/game/engines/default/engine/Particles.lua +++ b/game/engines/default/engine/Particles.lua @@ -60,6 +60,7 @@ function _M:loaded() local _ setfenv(f, setmetatable(t, {__index=_G})) _, _ , _, gl, _ = f() + setmetatable(t, nil) if t.use_shader then self.shader = t.use_shader end if t.alterscreen then islast = true end