working Date
This commit is contained in:
parent
a99fca358f
commit
3103b0974f
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ class Car
|
|||
|
||||
Update()
|
||||
{
|
||||
if(this.tick==0 && Date.getSeconds()%20==this.spawn) {
|
||||
if(this.tick==0 && new Date.getSeconds()%20==this.spawn) {
|
||||
this.tick=1;
|
||||
}
|
||||
this.ChangeDirection();
|
||||
|
|
Loading…
Reference in a new issue