mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Merge pull request #3744 from rexrainbow/master
Pass `this.parent` instead of `this` in callback of removedata event
This commit is contained in:
commit
d66daa6795
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ var DataManager = new Class({
|
|||
delete this.list[key];
|
||||
delete this.values[key];
|
||||
|
||||
this.events.emit('removedata', this, key, data);
|
||||
this.events.emit('removedata', this.parent, key, data);
|
||||
}
|
||||
|
||||
return this;
|
||||
|
|
Loading…
Add table
Reference in a new issue