Skip to content

Commit b8a37de

Browse files
authored
Merge pull request Gamebop#188 from LeXXik/char-fix-layer-change
fix char layer change
2 parents 902a7b1 + 5361565 commit b8a37de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/physics/jolt/back/operators/helpers/char-modifier.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class CharModifier {
381381

382382
try {
383383
if (char.objFilter) {
384-
Jolt.destroy(char.objFilter);
384+
backend.Jolt.destroy(char.objFilter);
385385
}
386386

387387
const layer = cb.read(BUFFER_READ_UINT16);

0 commit comments

Comments
 (0)