diff options
Diffstat (limited to 'tools.py')
-rw-r--r-- | tools.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ # By Alex Levenson #================================================================== import pygame -from elements import box2d +import Box2D from pygame.locals import * from helpers import * from inspect import getmro @@ -260,7 +260,7 @@ class BridgeJointTool(Tool): if not bodies or len(bodies) > 2: return - jointDef = box2d.b2RevoluteJointDef() + jointDef = Box2D.b2RevoluteJointDef() if len(bodies) == 1: if not bodies[0].IsStatic(): if event.pos[1] > 550 and (event.pos[0] < 350 or event.pos[0] > 850): |