mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-04 22:43:17 +08:00
Update _teamgame.py
This commit is contained in:
parent
eac3418972
commit
e8e0cb8a85
@ -67,7 +67,10 @@ class TeamGameActivity(GameActivity[PlayerT, TeamT]):
|
|||||||
# On the first game, show the controls UI momentarily.
|
# On the first game, show the controls UI momentarily.
|
||||||
# (unless we're being run in co-op mode, in which case we leave
|
# (unless we're being run in co-op mode, in which case we leave
|
||||||
# it up to them)
|
# it up to them)
|
||||||
if not isinstance(self.session, CoopSession) or getattr(self, 'show_controls_guide', True):
|
if (
|
||||||
|
not isinstance(self.session, CoopSession)
|
||||||
|
and getattr(self, 'show_controls_guide', True)
|
||||||
|
):
|
||||||
attrname = '_have_shown_ctrl_help_overlay'
|
attrname = '_have_shown_ctrl_help_overlay'
|
||||||
if not getattr(self.session, attrname, False):
|
if not getattr(self.session, attrname, False):
|
||||||
delay = 4.0
|
delay = 4.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user