mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Get from sys instead.
This commit is contained in:
parent
8c479a56c0
commit
2d5d75d97d
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
var CHECKSUM = {
|
||||
build: '81d87e60-1b1d-11e7-ab98-ff38934eb5bb'
|
||||
build: '0f40b6a0-1b37-11e7-9eae-cd352333bf02'
|
||||
};
|
||||
module.exports = CHECKSUM;
|
|
@ -45,7 +45,7 @@ var Layer = new Class({
|
|||
{
|
||||
if (visible === undefined) { visible = true; }
|
||||
|
||||
var child = this.state.children.add(new this.classType(this.state, x, y, key, frame));
|
||||
var child = this.state.sys.children.add(new this.classType(this.state, x, y, key, frame));
|
||||
|
||||
child.visible = visible;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue