mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 08:33:38 +02:00
Remove particleTrailEntity from every prox check, the trail no longer needs to be updated each check.
This commit is contained in:
parent
37ee2a31d4
commit
9ff68ce10c
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@
|
|||
var ballPos = Entities.getEntityProperties(_entityID, ['position']).position;
|
||||
var isAnyAvatarInRange = AvatarList.isAvatarInRange(ballPos, 1);
|
||||
|
||||
if (particleTrailEntity) particleTrail();
|
||||
if (particleTrailEntity === null) particleTrail();
|
||||
|
||||
if (isAnyAvatarInRange) {
|
||||
clearProxCheck();
|
||||
|
|
Loading…
Reference in a new issue