mirror of
https://github.com/overte-org/overte.git
synced 2025-04-29 18:22:38 +02:00
every sixth rat
This commit is contained in:
parent
b1ec1eb113
commit
f867ebf1d1
1 changed files with 2 additions and 2 deletions
|
@ -428,7 +428,7 @@ if (USE_CONSTANT_SPAWNER === true) {
|
|||
rats.push(rat);
|
||||
// print('ratCount::'+ratCount)
|
||||
ratCount++;
|
||||
// if (ratCount % 3 === 0) {
|
||||
if (ratCount % 6 === 0) {
|
||||
var metaRat = {
|
||||
rat: rat,
|
||||
injector: createRatSoundInjector()
|
||||
|
@ -439,7 +439,7 @@ if (USE_CONSTANT_SPAWNER === true) {
|
|||
//if we have too many injectors hanging around there are problems
|
||||
metaRat.injector.stop();
|
||||
}, RAT_SPAWN_RATE * 3)
|
||||
// }
|
||||
}
|
||||
|
||||
}, RAT_SPAWN_RATE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue