mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 23:59:18 +08:00
Merge pull request #641 from TheNotEasy/master
Add option not to show ControlsGuide
This commit is contained in:
commit
3ae51aa323
@ -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):
|
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