Browse Source

- Fixed task.time not being available on init

Jason Yeung 19 years ago
parent
commit
83e903d269
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/task/Task.py

+ 1 - 0
direct/src/task/Task.py

@@ -92,6 +92,7 @@ class Task:
         self.wakeTime = 0.0
         # for repeating doLaters
         self.delayTime = 0.0
+        self.time = 0.0
 
 #     # Used for putting into the doLaterList
 #     # the heapq calls __cmp__ via the rich compare function