mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-15 08:51:09 +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) {
|
||||
//debounce this call since we don't want it 60x a second
|
||||
sinceLastParticleLifetimeUpdate = sinceLastParticleLifetimeUpdate + deltaTime;
|
||||
if (sinceLastParticleLifetimeUpdate > TEMPORARY_PARTICLE_BEAM_LIFETIME - 10) {
|
||||
if (sinceLastParticleLifetimeUpdate > TEMPORARY_PARTICLE_BEAM_LIFETIME - 2) {
|
||||
sinceLastParticleLifetimeUpdate = 0;
|
||||
} else {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue