mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Fix particles and some fun in the background LOL
This commit is contained in:
@@ -13,7 +13,12 @@ function init()
|
||||
end
|
||||
end
|
||||
|
||||
-- TODO load particles
|
||||
local particles = g_resources.listDirectoryFiles('/particles')
|
||||
for _i,particle in pairs(particles) do
|
||||
if string.ends(particle, '.otps') then
|
||||
g_particles.importParticle('/particles/' .. particle)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function terminate()
|
||||
|
Reference in New Issue
Block a user