From cd49a4c059716f54f22987977eef38a85881babe Mon Sep 17 00:00:00 2001 From: Brian Delhaisse Date: Mon, 15 Jul 2019 22:30:41 +0200 Subject: [PATCH] fix small bug in world --- pyrobolearn/worlds/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrobolearn/worlds/world.py b/pyrobolearn/worlds/world.py index 3d30874..5b9c4f0 100644 --- a/pyrobolearn/worlds/world.py +++ b/pyrobolearn/worlds/world.py @@ -390,7 +390,7 @@ class World(object): # bridge.step() # call the step method for each body - for body in self.bodies: + for body in self.bodies.values(): body.step() # call simulation step