diff --git a/world/physics.py b/world/physics.py index 6a79570..796b0ab 100644 --- a/world/physics.py +++ b/world/physics.py @@ -89,7 +89,7 @@ class Physics: velocity_y = self.velocity[1] + self.acceleration[1] self.velocity = (velocity_x, velocity_y) - # # clamp velocity + # clamp velocity speed = math.sqrt(self.velocity[0] ** 2 + self.velocity[1] ** 2) if speed > MAX_VELOCITY: scale = MAX_VELOCITY / speed