ソースを参照

- Fixed task.time not being available on init

Jason Yeung 19 年 前
コミット
83e903d269
1 ファイル変更1 行追加0 行削除
  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
         self.wakeTime = 0.0
         # for repeating doLaters
         # for repeating doLaters
         self.delayTime = 0.0
         self.delayTime = 0.0
+        self.time = 0.0
 
 
 #     # Used for putting into the doLaterList
 #     # Used for putting into the doLaterList
 #     # the heapq calls __cmp__ via the rich compare function
 #     # the heapq calls __cmp__ via the rich compare function