mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-26 00:47:10 +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."""
|
||||
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
|
||||
from ba._gameactivity import GameActivity
|
||||
|
||||
|
||||
@ -205,7 +205,7 @@ class Session:
|
||||
raise NodeNotFoundError()
|
||||
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
|
||||
whether to allow players to join in the middle of activity.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user