|
|
@@ -17,10 +17,6 @@ module.exports = { |
|
|
|
|
|
|
|
this.obj.fireEvent('beforeSpawnParticles', this, particleConfig); |
|
|
|
|
|
|
|
const particleConfig = extend({}, this.particles); |
|
|
|
|
|
|
|
this.obj.fireEvent('beforeSpawnParticles', this, particleConfig); |
|
|
|
|
|
|
|
for (let i = x - radius; i <= x + radius; i++) { |
|
|
|
for (let j = y - radius; j <= y + radius; j++) { |
|
|
|
if (!physics.hasLos(~~x, ~~y, ~~i, ~~j)) |
|
|
|