Merge pull request #5297 from samme/fix/phaser-time-is-undefined

Fix Phaser.Time is undefined in Phaser.Time.Clock#addEvent
This commit is contained in:
Richard Davey 2020-09-11 15:56:26 +01:00 committed by GitHub
commit 9746b473f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ var Clock = new Class({
{
var event;
if (config instanceof Phaser.Time.TimerEvent)
if (config instanceof TimerEvent)
{
event = config;