Update _teamgame.py

This commit is contained in:
Sasha 2023-10-12 17:37:46 +09:00 committed by GitHub
parent c0179f692e
commit 0bbaf41e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class TeamGameActivity(GameActivity[PlayerT, TeamT]):
# On the first game, show the controls UI momentarily.
# (unless we're being run in co-op mode, in which case we leave
# it up to them)
if not isinstance(self.session, CoopSession):
if not isinstance(self.session, CoopSession) or getattr(self, 'show_controls_guide', True):
attrname = '_have_shown_ctrl_help_overlay'
if not getattr(self.session, attrname, False):
delay = 4.0