Merge pull request #4627 from samme/fix/createFromObjects

Fix unused scene argument in Tilemap#createFromObjects()
This commit is contained in:
Richard Davey 2019-07-02 12:18:01 +01:00 committed by GitHub
commit 0ddc307bfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;