summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9b62911..8224030 100644
--- a/init.lua
+++ b/init.lua
@@ -403,7 +403,7 @@ function bike.on_step(self, dtime)
end
-- Can we ride good here?
- if not is_bike_friendly({x=p.x, y=p.y-0.355, z=p.z}) then
+ if not is_bike_friendly({x=p.x, y=p.y + self.collisionbox[2] - 0.05, z=p.z}) then
self.v = self.v / 1.05
end