兼容旧版 Textual

This commit is contained in:
2025-09-14 23:27:59 +08:00
parent d83025d818
commit 1b33bb8618

View File

@@ -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)