Reset clock start to 08:00
This commit is contained in:
@@ -119,7 +119,7 @@ GameState.prototype.create = function()
|
|||||||
this.game.time.advancedTiming = true;
|
this.game.time.advancedTiming = true;
|
||||||
|
|
||||||
this.clock = new Date();
|
this.clock = new Date();
|
||||||
this.clock.setHours(20, 50, 0, 0);
|
this.clock.setHours(20, 00, 0, 0);
|
||||||
this.clockTimer = game.time.create(true);
|
this.clockTimer = game.time.create(true);
|
||||||
this.clockTimer.repeat(DAYLIGHT_TIMER_REPEAT,
|
this.clockTimer.repeat(DAYLIGHT_TIMER_REPEAT,
|
||||||
DAYLIGHT_TIMER_REPEATCOUNT,
|
DAYLIGHT_TIMER_REPEATCOUNT,
|
||||||
|
|||||||
Reference in New Issue
Block a user