Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong committed Nov 22, 2024
1 parent be305dd commit df06a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/jwPsychic/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Extension {
let body = this.bodies[id]
let target = vm.runtime.targets[id]

if (!target) {
if (target == undefined) {
Matter.Composite.remove(this.engine.world, body)
delete this.bodies[id]
return
Expand Down

0 comments on commit df06a1b

Please sign in to comment.