From 2a50321753935d3f1aaaf8c7dc50018386b4e2ef Mon Sep 17 00:00:00 2001 From: Melo <71152012+rafriz@users.noreply.github.com> Date: Thu, 12 Jan 2023 21:08:21 -0500 Subject: [PATCH] Update spaz.py --- assets/src/ba_data/python/bastd/actor/spaz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/src/ba_data/python/bastd/actor/spaz.py b/assets/src/ba_data/python/bastd/actor/spaz.py index d449a7c7..994585cf 100644 --- a/assets/src/ba_data/python/bastd/actor/spaz.py +++ b/assets/src/ba_data/python/bastd/actor/spaz.py @@ -262,7 +262,7 @@ class Spaz(ba.Actor): def _turbo_filter_add_press(self, source: str) -> None: """ Can pass all button presses through here; if we see an obscene number - of them in a short time let's shame/pushish this guy for using turbo + of them in a short time let's shame/pushish this guy for using turbo. """ t_ms = ba.time( timetype=ba.TimeType.BASE, timeformat=ba.TimeFormat.MILLISECONDS @@ -399,7 +399,7 @@ class Spaz(ba.Actor): Called to 'press pick-up' on this spaz; used by player or AI connections. """ - if not self.node: + if not self.node or self.frozen or self.node.knockout > 0.0: return t_ms = ba.time(timeformat=ba.TimeFormat.MILLISECONDS) assert isinstance(t_ms, int)