mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-25 13:39:06 -05:00
Engine.merge now uses Common.nextId
This commit is contained in:
parent
84c3b79c2c
commit
7a8051b585
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ var Engine = {};
|
|||
for (var i = 0; i < bodies.length; i++) {
|
||||
var body = bodies[i];
|
||||
Sleeping.set(body, false);
|
||||
body.id = Body.nextId();
|
||||
body.id = Common.nextId();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue