photonstorm/phaser — pull request #1021 by lucbloom (2014-07-15 11:03:40+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.