mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 16:53:49 +08:00
_
This commit is contained in:
parent
8bdd4b9cdd
commit
c312a0206a
@ -125,7 +125,7 @@ class CoopScoreScreen(bs.Activity[bs.Player, bs.Team]):
|
|||||||
self._tournament_time_remaining: float | None = None
|
self._tournament_time_remaining: float | None = None
|
||||||
self._tournament_time_remaining_text: Text | None = None
|
self._tournament_time_remaining_text: Text | None = None
|
||||||
self._tournament_time_remaining_text_timer: bs.BaseTimer | None = None
|
self._tournament_time_remaining_text_timer: bs.BaseTimer | None = None
|
||||||
self._submit_score = self.session._submit_score
|
self._submit_score = self.session.submit_score
|
||||||
|
|
||||||
# Stuff for activity skip by pressing button
|
# Stuff for activity skip by pressing button
|
||||||
self._birth_time = bs.time()
|
self._birth_time = bs.time()
|
||||||
|
|||||||
@ -14,7 +14,6 @@ import bauiv1 as bui
|
|||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from typing import Any, Callable
|
from typing import Any, Callable
|
||||||
from bascenev1lib.activity.coopscore import CoopScoreScreen
|
|
||||||
import bascenev1 as bs
|
import bascenev1 as bs
|
||||||
|
|
||||||
|
|
||||||
@ -90,9 +89,7 @@ class TournamentEntryWindow(PopupWindow):
|
|||||||
|
|
||||||
# Show the practice button as long as we're not
|
# Show the practice button as long as we're not
|
||||||
# restarting while on a paid tournament run.
|
# restarting while on a paid tournament run.
|
||||||
self._do_practice = self._tournament_activity is None or isinstance(
|
self._do_practice = self._tournament_activity is None
|
||||||
self._tournament_activity, CoopScoreScreen
|
|
||||||
)
|
|
||||||
|
|
||||||
off_p = 0 if not self._do_practice else 48
|
off_p = 0 if not self._do_practice else 48
|
||||||
self._height += off_p * 0.933
|
self._height += off_p * 0.933
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user