mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:47:08 +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);
|
||||
this.entityID = entityID;
|
||||
|
||||
Script.setTimeout(function() {
|
||||
Script.setInterval(function() {
|
||||
var entityID = _this.entityID;
|
||||
print("timer timeout in entityID:" + entityID);
|
||||
print("timer interval in entityID:" + entityID);
|
||||
}, 3000);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue