fix warning / wrong var

This commit is contained in:
cora 2022-10-14 00:07:26 +02:00
parent b770ce42e3
commit 3e312af3b9
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ end
local function add_particlespawners(pn,self)
if not active_particlespawners[pn] then active_particlespawners[pn] = {} end
if not active_particlespawners[pn][object] then active_particlespawners[pn][self.object] = {} end
if not active_particlespawners[pn][self.object] then active_particlespawners[pn][self.object] = {} end
for _,ps in pairs(self.particlespawners) do
ps.attached = self.object
ps.playername = pn