兼容旧版 Textual
This commit is contained in:
@@ -30,6 +30,7 @@ class Glimpse():
|
||||
self.activated_num += 1
|
||||
if self.next_date == 0x3f3f3f3f:
|
||||
self.next_date = -1
|
||||
self.is_initialized = 0
|
||||
if self.activated_num == 0:
|
||||
return
|
||||
self.avg_efactor = round(self.avg_efactor / self.activated_num, 2)
|
||||
|
Reference in New Issue
Block a user