mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-06 07:23:37 +08:00
Tried to fix
This commit is contained in:
parent
4891e60cf4
commit
46cbb492f6
@ -1051,6 +1051,8 @@ class RunaroundGame(ba.CoopGameActivity):
|
|||||||
# Yup; that's a lot of return statements right there.
|
# Yup; that's a lot of return statements right there.
|
||||||
# pylint: disable=too-many-return-statements
|
# pylint: disable=too-many-return-statements
|
||||||
assert bot.node
|
assert bot.node
|
||||||
|
if not bot.is_alive() or not bot.node.exists():
|
||||||
|
return True
|
||||||
|
|
||||||
# FIXME: Do this in a type safe way.
|
# FIXME: Do this in a type safe way.
|
||||||
r_walk_speed: float = bot.r_walk_speed # type: ignore
|
r_walk_speed: float = bot.r_walk_speed # type: ignore
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user