diff --git a/public_html/js/class.js b/public_html/js/class.js
index b8ba393..76316bd 100644
--- a/public_html/js/class.js
+++ b/public_html/js/class.js
@@ -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();