mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-18 05:23:57 +08:00
Holiday Themes
This commit is contained in:
@@ -44,6 +44,9 @@ class FrogPilotEvents:
|
||||
else:
|
||||
self.stopped_for_light = False
|
||||
|
||||
if "holidayActive" not in self.played_events and self.startup_seen and alerts_empty and len(self.events) == 0 and frogpilot_toggles.current_holiday_theme != "stock":
|
||||
self.events.add(FrogPilotEventName.holidayActive)
|
||||
|
||||
if self.error_log.is_file():
|
||||
self.events.add(FrogPilotEventName.openpilotCrashed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user