mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +02:00
try to lock cuckoo
This commit is contained in:
parent
ce670fbd21
commit
d849154466
1 changed files with 5 additions and 0 deletions
|
@ -121,7 +121,12 @@
|
||||||
var minutes = date.getMinutes();
|
var minutes = date.getMinutes();
|
||||||
|
|
||||||
if (minutes % 15 === 0 && seconds === 0) {
|
if (minutes % 15 === 0 && seconds === 0) {
|
||||||
|
_this.locked=true;
|
||||||
_this.popCuckooOut();
|
_this.popCuckooOut();
|
||||||
|
_this.setTimeout(function(){
|
||||||
|
//five minute cooldown
|
||||||
|
_this.locked=false;
|
||||||
|
},300000)
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue