mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 07:23:37 +08:00
lint fixes
This commit is contained in:
parent
fed8ca9400
commit
4db6ec8d45
@ -90,7 +90,7 @@ class CoopSession(Session):
|
|||||||
"""Get the game instance currently being played."""
|
"""Get the game instance currently being played."""
|
||||||
return self._current_game_instance
|
return self._current_game_instance
|
||||||
|
|
||||||
def should_allow_mid_activity_joins(self, activity: Activity) -> bool:
|
def should_allow_mid_activity_joins(self, activity: ba.Activity) -> bool:
|
||||||
# pylint: disable=cyclic-import
|
# pylint: disable=cyclic-import
|
||||||
from ba._gameactivity import GameActivity
|
from ba._gameactivity import GameActivity
|
||||||
|
|
||||||
|
|||||||
@ -205,7 +205,7 @@ class Session:
|
|||||||
raise NodeNotFoundError()
|
raise NodeNotFoundError()
|
||||||
return node
|
return node
|
||||||
|
|
||||||
def should_allow_mid_activity_joins(self, activity: Activity) -> bool:
|
def should_allow_mid_activity_joins(self, activity: ba.Activity) -> bool:
|
||||||
"""Returned value is used by the Session to determine
|
"""Returned value is used by the Session to determine
|
||||||
whether to allow players to join in the middle of activity.
|
whether to allow players to join in the middle of activity.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user