mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +02:00
typo
This commit is contained in:
parent
cdff3323fb
commit
38443af437
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ virtualBaton = function virtualBaton(options) {
|
||||||
debug('baton: propose', claim);
|
debug('baton: propose', claim);
|
||||||
if (!claimCallback) { return; } // We're not participating.
|
if (!claimCallback) { return; } // We're not participating.
|
||||||
nPromises = 0;
|
nPromises = 0;
|
||||||
nQuorum = Math.floor(AvatarList.getAvatarIdentifiers.length / 2) + 1;
|
nQuorum = Math.floor(AvatarList.getAvatarIdentifiers().length / 2) + 1;
|
||||||
bestPromise.proposerId = MyAvatar.sessionUUID;
|
bestPromise.proposerId = MyAvatar.sessionUUID;
|
||||||
bestPromise.number++;
|
bestPromise.number++;
|
||||||
bestPromise.winner = claim;
|
bestPromise.winner = claim;
|
|
@ -2,7 +2,7 @@
|
||||||
/*jslint nomen: true, plusplus: true, vars: true*/
|
/*jslint nomen: true, plusplus: true, vars: true*/
|
||||||
var Vec3, Quat, MyAvatar, Entities, Camera, Script, print;
|
var Vec3, Quat, MyAvatar, Entities, Camera, Script, print;
|
||||||
|
|
||||||
Script.include("../libraries/virtualBaton.18.js");
|
Script.include("../libraries/virtualBaton.19.js");
|
||||||
var TICKER_INTERVAL = 1000; // ms
|
var TICKER_INTERVAL = 1000; // ms
|
||||||
var baton = virtualBaton({key: 'io.highfidelity.testBaton'});
|
var baton = virtualBaton({key: 'io.highfidelity.testBaton'});
|
||||||
var ticker, countDown;
|
var ticker, countDown;
|
||||||
|
|
Loading…
Reference in a new issue