diff --git a/src/data/DataManager.js b/src/data/DataManager.js index b8cefa530..d9c997b14 100644 --- a/src/data/DataManager.js +++ b/src/data/DataManager.js @@ -242,7 +242,7 @@ var DataManager = new Class({ { if (overwrite || (!overwrite && !this.has(key))) { - this.list[key] = data; + this.list[key] = data[key]; } } diff --git a/src/input/gamepad/Button.js b/src/input/gamepad/Button.js index 89e5b8059..ccdc4239f 100644 --- a/src/input/gamepad/Button.js +++ b/src/input/gamepad/Button.js @@ -69,7 +69,7 @@ var Button = new Class({ * @default 0 * @since 3.0.0 */ - this.threshold = 0; + this.threshold = 1; /** * Is the Button being pressed down or not? diff --git a/src/physics/arcade/Body.js b/src/physics/arcade/Body.js index 3398c5a35..392a9a65c 100644 --- a/src/physics/arcade/Body.js +++ b/src/physics/arcade/Body.js @@ -1293,7 +1293,7 @@ var Body = new Class({ if (this.isCircle) { - graphic.strokeCircle(x, y, this.radius); + graphic.strokeCircle(x, y, this.width / 2); } else { diff --git a/src/scene/SceneManager.js b/src/scene/SceneManager.js index 23a558041..e5ed85650 100644 --- a/src/scene/SceneManager.js +++ b/src/scene/SceneManager.js @@ -655,7 +655,7 @@ var SceneManager = new Class({ // Extract callbacks - var defaults = [ 'init', 'preload', 'create', 'update', 'render', 'shutdown', 'destroy' ]; + var defaults = [ 'init', 'preload', 'create', 'update', 'render' ]; for (var i = 0; i < defaults.length; i++) {