mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 09:57:26 +02:00
reduce gap btw refresh
This commit is contained in:
parent
eae8b48513
commit
58257b00e7
1 changed files with 1 additions and 1 deletions
|
@ -1874,7 +1874,7 @@ var sinceLastParticleLifetimeUpdate = 0;
|
||||||
function renewParticleBeamLifetimes(deltaTime) {
|
function renewParticleBeamLifetimes(deltaTime) {
|
||||||
//debounce this call since we don't want it 60x a second
|
//debounce this call since we don't want it 60x a second
|
||||||
sinceLastParticleLifetimeUpdate = sinceLastParticleLifetimeUpdate + deltaTime;
|
sinceLastParticleLifetimeUpdate = sinceLastParticleLifetimeUpdate + deltaTime;
|
||||||
if (sinceLastParticleLifetimeUpdate > TEMPORARY_PARTICLE_BEAM_LIFETIME - 10) {
|
if (sinceLastParticleLifetimeUpdate > TEMPORARY_PARTICLE_BEAM_LIFETIME - 2) {
|
||||||
sinceLastParticleLifetimeUpdate = 0;
|
sinceLastParticleLifetimeUpdate = 0;
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue