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.esm.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}
|
|
@@ -3669,8 +3669,6 @@ class EngineObject
|
|
|
3669
3669
|
|
|
3670
3670
|
// notify objects of collision and check if should be resolved
|
|
3671
3671
|
const collide1 = this.collideWithObject(o);
|
|
3672
|
-
// callback may have destroyed us; stop resolving against more objects
|
|
3673
|
-
if (this.destroyed) return;
|
|
3674
3672
|
const collide2 = o.collideWithObject(this);
|
|
3675
3673
|
if (!collide1 || !collide2) continue;
|
|
3676
3674
|
|