diff --git a/direct/src/distributed/DistributedSmoothNodeBase.py b/direct/src/distributed/DistributedSmoothNodeBase.py index 676778457e..f0f07103bc 100755 --- a/direct/src/distributed/DistributedSmoothNodeBase.py +++ b/direct/src/distributed/DistributedSmoothNodeBase.py @@ -82,6 +82,5 @@ class DistributedSmoothNodeBase: # this task accurately aligned with its period and starting time. self.d_broadcastPosHpr() taskName = self.taskName("sendPosHpr") - taskMgr.doMethodLater(self.__broadcastPeriod, - self.__posHprBroadcast, taskName) - return Task.done + task.delayTime = self.__broadcastPeriod + return Task.again