Update supersmash.py

This commit is contained in:
brostos 2023-10-09 08:52:29 +03:00 committed by GitHub
parent 1d629cdd40
commit 5f2e315000
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ class PowBox(Bomb):
self.explode() self.explode()
def handlemessage(self, m: Any) -> Any: def handlemessage(self, m: Any) -> Any:
if isinstance(m, babase.PickedUpMessage): if isinstance(m, bs.PickedUpMessage):
self._heldBy = m.node self._heldBy = m.node
elif isinstance(m, bs.DroppedMessage): elif isinstance(m, bs.DroppedMessage):
bs.timer(0.6, self.pow) bs.timer(0.6, self.pow)