From d4cbdbbd0e87b1ed598901a6ad74d427557e9832 Mon Sep 17 00:00:00 2001 From: liabru Date: Wed, 23 Dec 2015 16:07:37 +0000 Subject: [PATCH] formatting merge --- src/core/Engine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/Engine.js b/src/core/Engine.js index 8d93e63..40306d6 100644 --- a/src/core/Engine.js +++ b/src/core/Engine.js @@ -284,6 +284,7 @@ var Body = require('../body/Body'); if (gravity.x === 0 && gravity.y === 0) { return; } + for (var i = 0; i < bodies.length; i++) { var body = bodies[i];