mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
update
This commit is contained in:
parent
e5364fd186
commit
7450a2ea3a
1 changed files with 4 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
|
||||
this.startUpdate = function() {
|
||||
print("EBL START UPDATE");
|
||||
Entities.editEntity(_this.batonOwnerIndicator, {
|
||||
visible: true
|
||||
});
|
||||
|
@ -26,6 +27,7 @@
|
|||
}
|
||||
|
||||
this.maybeClaim = function() {
|
||||
print("EBL MAYBE CLAIM");
|
||||
if (_this.isBatonOwner === true) {
|
||||
_this.isBatonOwner = false;
|
||||
}
|
||||
|
@ -36,12 +38,14 @@
|
|||
}
|
||||
|
||||
this.unload = function() {
|
||||
print("EBL UNLOAD");
|
||||
baton.unload();
|
||||
Entities.deleteEntity(_this.batonOwnerIndicator);
|
||||
}
|
||||
|
||||
|
||||
this.preload = function(entityID) {
|
||||
print("EBL Preload!!");
|
||||
_this.entityID = entityID;
|
||||
_this.setupDebugEntities();
|
||||
|
||||
|
@ -51,7 +55,6 @@
|
|||
_this.isBatonOwner = false;
|
||||
_this.maybeClaim();
|
||||
|
||||
print("EBL Preload!!");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue