mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 01:17:43 +00:00
Merge pull request #4627 from samme/fix/createFromObjects
Fix unused scene argument in Tilemap#createFromObjects()
This commit is contained in:
commit
0ddc307bfd
1 changed files with 6 additions and 6 deletions
|
@ -638,7 +638,7 @@ var Tilemap = new Class({
|
|||
config.x = obj.x;
|
||||
config.y = obj.y;
|
||||
|
||||
var sprite = this.scene.make.sprite(config);
|
||||
var sprite = scene.make.sprite(config);
|
||||
|
||||
sprite.name = obj.name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue