mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 20:48:56 +02:00
change the timeout to an interval so it constantly runs
This commit is contained in:
parent
d6fa58c39c
commit
ab7f3d5739
1 changed files with 2 additions and 2 deletions
|
@ -30,9 +30,9 @@
|
||||||
print("preload - entityID:" + entityID);
|
print("preload - entityID:" + entityID);
|
||||||
this.entityID = entityID;
|
this.entityID = entityID;
|
||||||
|
|
||||||
Script.setTimeout(function() {
|
Script.setInterval(function() {
|
||||||
var entityID = _this.entityID;
|
var entityID = _this.entityID;
|
||||||
print("timer timeout in entityID:" + entityID);
|
print("timer interval in entityID:" + entityID);
|
||||||
}, 3000);
|
}, 3000);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue