photonstorm/phaser — pull request #1024 by lucbloom (2014-07-15 11:30:12+00:00)
Title: Add a check around this optional function

My game crashes here if I update phaser.js to a new version. It happens
when my game switches to another State object.