Updated Loader component and fixed a few Pointer issues.

This commit is contained in:
Richard Davey
2013-06-05 02:58:16 +01:00
parent d42f396ba0
commit 2f03f5fc43
118 changed files with 934 additions and 602 deletions
+2 -2
View File
@@ -255,7 +255,7 @@ module Phaser {
public pauseGame() {
if (this.disablePauseScreen == false)
if (this.disablePauseScreen == false && this.pauseScreen)
{
this.pauseScreen.onPaused();
}
@@ -267,7 +267,7 @@ module Phaser {
public resumeGame() {
if (this.disablePauseScreen == false)
if (this.disablePauseScreen == false && this.pauseScreen)
{
this.pauseScreen.onResume();
}