Now all tests passed

This commit is contained in:
indev 2020-04-07 20:32:43 +03:00
parent 1fe3c69551
commit a38a6629fb
2 changed files with 4 additions and 2 deletions

View File

@ -1157,7 +1157,9 @@ class CoopScoreScreen(ba.Activity):
self._tournament_time_remaining = max(
0, self._tournament_time_remaining - 1)
if self._tournament_time_remaining_text is not None:
val = ba.timestring(self._tournament_time_remaining, suppress_format_warning=True, centi=False)
val = ba.timestring(self._tournament_time_remaining,
suppress_format_warning=True,
centi=False)
self._tournament_time_remaining_text.node.text = val
def _show_world_rank(self, offs_x: float) -> None:

View File

@ -187,7 +187,7 @@ class EasterEggHuntGame(ba.TeamGameActivity):
ypos = random.uniform(3.5, 3.5)
zpos = random.uniform(-8.2, 3.7)
def _is_exists(egg: Egg) -> bool:
if egg.node is None:
if egg.node is None:
return False
return egg.node.exists()