From 3bcda1e2607909a672cbdc3db1b2dba13618be95 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 18 Apr 2003 01:17:34 +0000 Subject: [PATCH] typo in spawnDoLater --- direct/src/task/Task.py | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/task/Task.py b/direct/src/task/Task.py index 34dce1d8bf..0475c2fd37 100644 --- a/direct/src/task/Task.py +++ b/direct/src/task/Task.py @@ -386,6 +386,7 @@ class TaskManager: index = self.doLaterList.add(task) if self.fVerbose: # Alert the world, a new task is born! + index = len(self.doLaterList) messenger.send('TaskManager-spawnDoLater', sentArgs = [task, task.name, index]) return task