mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
destroying doll body on kill, fixes #66
This commit is contained in:
parent
24e179f3b2
commit
ef98b9dd28
2 changed files with 3 additions and 2 deletions
|
|
@ -442,6 +442,7 @@ function (Parent, Box2D, Settings, CollisionDetector, Item, Nc) {
|
|||
};
|
||||
|
||||
Doll.prototype.destroy = function() {
|
||||
Parent.prototype.destroy.call(this);
|
||||
};
|
||||
|
||||
return Doll;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue