Skip to content

Commit f71b834

Browse files
tried more thoroughly eliminating Characters
1 parent b9fe695 commit f71b834

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

behavior/game.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,6 +1421,7 @@ Standards.game.Character = function (source, options) {
14211421
*/
14221422
character.removeBody();
14231423
Standards.game.Character.instances.splice(Standards.game.Character.instances.indexOf(character), 1);
1424+
character = undefined;
14241425
}
14251426

14261427
Standards.game.Character.instances.push(this);

0 commit comments

Comments
 (0)