summaryrefslogtreecommitdiff
path: root/honey/ecs-systems.lua
diff options
context:
space:
mode:
Diffstat (limited to 'honey/ecs-systems.lua')
-rw-r--r--honey/ecs-systems.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/honey/ecs-systems.lua b/honey/ecs-systems.lua
index 3243d02..b468228 100644
--- a/honey/ecs-systems.lua
+++ b/honey/ecs-systems.lua
@@ -261,7 +261,7 @@ physics = function(params)
physics.angularVelocity = avel
if physics.maxAngularSpeed then
- ode.BodySetMaxAngularSpeed(physics.maxAngularSpeed)
+ ode.BodySetMaxAngularSpeed(body, physics.maxAngularSpeed)
end
physics._body = body