mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 16:50:43 +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 ballPos = Entities.getEntityProperties(_entityID, ['position']).position;
|
||||||
var isAnyAvatarInRange = AvatarList.isAvatarInRange(ballPos, 1);
|
var isAnyAvatarInRange = AvatarList.isAvatarInRange(ballPos, 1);
|
||||||
|
|
||||||
if (particleTrailEntity) particleTrail();
|
if (particleTrailEntity === null) particleTrail();
|
||||||
|
|
||||||
if (isAnyAvatarInRange) {
|
if (isAnyAvatarInRange) {
|
||||||
clearProxCheck();
|
clearProxCheck();
|
||||||
|
|
Loading…
Reference in a new issue