Skip to content

Commit 9746b47

Browse files
authored
Merge pull request phaserjs#5297 from samme/fix/phaser-time-is-undefined
Fix Phaser.Time is undefined in Phaser.Time.Clock#addEvent
2 parents dff71b6 + 93b5aeb commit 9746b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/time/Clock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ var Clock = new Class({
170170
{
171171
var event;
172172

173-
if (config instanceof Phaser.Time.TimerEvent)
173+
if (config instanceof TimerEvent)
174174
{
175175
event = config;
176176

0 commit comments

Comments
 (0)