diff --git a/src/engine/core.js b/src/engine/core.js index 483377ff..3bf7ea39 100755 --- a/src/engine/core.js +++ b/src/engine/core.js @@ -30,7 +30,7 @@ var core = { Current engine version. @property {String} version **/ - version: '1.3.2', + version: '1.4.0', /** Engine settings. @property {Object} config diff --git a/src/engine/scene.js b/src/engine/scene.js index 7fd35d2a..5e026842 100755 --- a/src/engine/scene.js +++ b/src/engine/scene.js @@ -267,11 +267,11 @@ game.Scene = game.Class.extend({ }, pause: function() { - game.audio.pauseAll(); + if (game.audio) game.audio.pauseAll(); }, resume: function() { - game.audio.resumeAll(); + if (game.audio) game.audio.resumeAll(); } });