diff --git a/direct/src/controls/ControlManager.py b/direct/src/controls/ControlManager.py index d570507b32..836d04a0bd 100755 --- a/direct/src/controls/ControlManager.py +++ b/direct/src/controls/ControlManager.py @@ -193,7 +193,6 @@ class ControlManager: if self.currentControls: self.currentControls.setCollisionsActive(1) - def collisionsOff(self): assert self.notify.debugCall(id(self)) if self.currentControls: @@ -201,7 +200,8 @@ class ControlManager: def placeOnFloor(self): assert self.notify.debugCall(id(self)) - self.currentControls.placeOnFloor() + if self.currentControls: + self.currentControls.placeOnFloor() def enable(self): assert self.notify.debugCall(id(self))