littlejsengine 1.18.18 → 1.18.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/littlejs.esm.js +1 -3
- package/dist/littlejs.esm.min.js +1 -1
- package/dist/littlejs.js +1 -3
- package/dist/littlejs.min.js +1 -1
- package/dist/littlejs.release.js +1 -3
- package/package.json +1 -1
- package/src/engine.js +1 -1
- package/src/engineObject.js +0 -2
package/dist/littlejs.release.js
CHANGED
|
@@ -35,7 +35,7 @@ const engineName = 'LittleJS';
|
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @default
|
|
37
37
|
* @memberof Engine */
|
|
38
|
-
const engineVersion = '1.18.
|
|
38
|
+
const engineVersion = '1.18.19';
|
|
39
39
|
|
|
40
40
|
/** Frames per second to update
|
|
41
41
|
* @type {number}
|
|
@@ -2981,8 +2981,6 @@ class EngineObject
|
|
|
2981
2981
|
|
|
2982
2982
|
// notify objects of collision and check if should be resolved
|
|
2983
2983
|
const collide1 = this.collideWithObject(o);
|
|
2984
|
-
// callback may have destroyed us; stop resolving against more objects
|
|
2985
|
-
if (this.destroyed) return;
|
|
2986
2984
|
const collide2 = o.collideWithObject(this);
|
|
2987
2985
|
if (!collide1 || !collide2) continue;
|
|
2988
2986
|
|
package/package.json
CHANGED
package/src/engine.js
CHANGED
package/src/engineObject.js
CHANGED
|
@@ -215,8 +215,6 @@ class EngineObject
|
|
|
215
215
|
|
|
216
216
|
// notify objects of collision and check if should be resolved
|
|
217
217
|
const collide1 = this.collideWithObject(o);
|
|
218
|
-
// callback may have destroyed us; stop resolving against more objects
|
|
219
|
-
if (this.destroyed) return;
|
|
220
218
|
const collide2 = o.collideWithObject(this);
|
|
221
219
|
if (!collide1 || !collide2) continue;
|
|
222
220
|
|