mirror of
https://github.com/wassname/phaser.git
synced 2026-09-12 12:40:47 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user