Skip to content

Commit

Permalink
Hide tasks that are not intended to be on HUD
Browse files Browse the repository at this point in the history
  • Loading branch information
Monstrofil committed Sep 11, 2023
1 parent 2791745 commit e3020ed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ def _getCapturePointsInfo(self):
def _getTasksInfo(self):
tasks = self.battle_logic.properties['client']['state'].get('tasks', [])
for task in tasks:
if not task['showOnHUD']:
continue

yield {
"category": Category.names[task['category']],
"status": Status.names[task['status']],
Expand Down

0 comments on commit e3020ed

Please sign in to comment.