mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:47:08 +02:00
baton logging
This commit is contained in:
parent
2168a1a6ed
commit
4c8be15ca3
1 changed files with 3 additions and 1 deletions
|
@ -23,6 +23,7 @@
|
|||
|
||||
|
||||
function startUpdate() {
|
||||
print("EBL Start CLOCK Update")
|
||||
//when the baton is claimed;
|
||||
// print('trying to claim the object' + _entityID)
|
||||
iOwn = true;
|
||||
|
@ -32,7 +33,7 @@
|
|||
|
||||
function stopUpdateAndReclaim() {
|
||||
//when the baton is released;
|
||||
// print('i released the object ' + _entityID)
|
||||
print('EBL I released the object ' + _entityID)
|
||||
iOwn = false;
|
||||
if (connected === true) {
|
||||
connected = false;
|
||||
|
@ -57,6 +58,7 @@
|
|||
// One winner for each entity
|
||||
|
||||
if(Entities.canRez() && Entities.canAdjustLocks){
|
||||
print("EBL I HAVE EDIT RIGHTS, SO SET UP BATON!");
|
||||
baton = virtualBaton({
|
||||
batonName: "io.highfidelity.cuckooClock:" + _this.entityID
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue