Skip to content

Commit

Permalink
Merge branch 'team-matchmaking' into tmm
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatsik committed Feb 23, 2021
2 parents f082841 + c4fd9cd commit 490294e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/notifications/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ def checkEvent(self):
* Game isn't running, or ingame notifications are enabled
"""
#gamefull notifications show up to 6 times (with the set up to 2, but still not only once)
self.events = list(set(self.events))
if (len(self.events) > 0 and self.dialog.isHidden() and
(not self.game_running or self.settings.ingame_notifications == IngameNotification.ENABLE)):
self.showEvent()

0 comments on commit 490294e

Please sign in to comment.