ソースを参照

typo in spawnDoLater

David Rose 23 年 前
コミット
3bcda1e260
1 ファイル変更1 行追加0 行削除
  1. 1 0
      direct/src/task/Task.py

+ 1 - 0
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